diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-01-07 16:26:40 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-01-09 21:40:55 -0800 |
| commit | d51402ac6b802dbc17402135067d302853b34252 (patch) | |
| tree | e2820c4353a99c60c294c528b03fa78c5685bcc2 /lldb/source/API/SBError.cpp | |
| parent | 4a8549354c1b77ce830e488ceefa05dfb4bc9325 (diff) | |
[lldb] Remove reproducer instrumentation
This patch removes most of the reproducer instrumentation. It keeps
around the LLDB_RECORD_* macros for logging. See [1] for more details.
[1] https://lists.llvm.org/pipermail/lldb-dev/2021-September/017045.html
Differential revision: https://reviews.llvm.org/D116847
Diffstat (limited to 'lldb/source/API/SBError.cpp')
| -rw-r--r-- | lldb/source/API/SBError.cpp | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/lldb/source/API/SBError.cpp b/lldb/source/API/SBError.cpp index d80183c4200a..a65a2b626c4d 100644 --- a/lldb/source/API/SBError.cpp +++ b/lldb/source/API/SBError.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "lldb/API/SBError.h" -#include "SBReproducerPrivate.h" +#include "lldb/Utility/ReproducerInstrumentation.h" #include "Utils.h" #include "lldb/API/SBStream.h" #include "lldb/Utility/Status.h" @@ -183,30 +183,3 @@ bool SBError::GetDescription(SBStream &description) { return true; } - -namespace lldb_private { -namespace repro { - -template <> -void RegisterMethods<SBError>(Registry &R) { - LLDB_REGISTER_CONSTRUCTOR(SBError, ()); - LLDB_REGISTER_CONSTRUCTOR(SBError, (const lldb::SBError &)); - LLDB_REGISTER_METHOD(const lldb::SBError &, - SBError, operator=,(const lldb::SBError &)); - LLDB_REGISTER_METHOD_CONST(const char *, SBError, GetCString, ()); - LLDB_REGISTER_METHOD(void, SBError, Clear, ()); - LLDB_REGISTER_METHOD_CONST(bool, SBError, Fail, ()); - LLDB_REGISTER_METHOD_CONST(bool, SBError, Success, ()); - LLDB_REGISTER_METHOD_CONST(uint32_t, SBError, GetError, ()); - LLDB_REGISTER_METHOD_CONST(lldb::ErrorType, SBError, GetType, ()); - LLDB_REGISTER_METHOD(void, SBError, SetError, (uint32_t, lldb::ErrorType)); - LLDB_REGISTER_METHOD(void, SBError, SetErrorToErrno, ()); - LLDB_REGISTER_METHOD(void, SBError, SetErrorToGenericError, ()); - LLDB_REGISTER_METHOD(void, SBError, SetErrorString, (const char *)); - LLDB_REGISTER_METHOD_CONST(bool, SBError, IsValid, ()); - LLDB_REGISTER_METHOD_CONST(bool, SBError, operator bool, ()); - LLDB_REGISTER_METHOD(bool, SBError, GetDescription, (lldb::SBStream &)); -} - -} -} |
