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/SBFile.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/SBFile.cpp')
| -rw-r--r-- | lldb/source/API/SBFile.cpp | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/lldb/source/API/SBFile.cpp b/lldb/source/API/SBFile.cpp index 41ccdbe76b91..a6249dddd9a6 100644 --- a/lldb/source/API/SBFile.cpp +++ b/lldb/source/API/SBFile.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "lldb/API/SBFile.h" -#include "SBReproducerPrivate.h" +#include "lldb/Utility/ReproducerInstrumentation.h" #include "lldb/API/SBError.h" #include "lldb/Host/File.h" @@ -132,27 +132,3 @@ FileSP SBFile::GetFile() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(FileSP, SBFile, GetFile); return LLDB_RECORD_RESULT(m_opaque_sp); } - -namespace lldb_private { -namespace repro { - -template <> void RegisterMethods<SBFile>(Registry &R) { - LLDB_REGISTER_CONSTRUCTOR(SBFile, ()); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (FileSP)); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (const SBFile&)); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (FILE *, bool)); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (int, const char *, bool)); - LLDB_REGISTER_METHOD(SBFile&, SBFile, operator=,(const SBFile&)); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Flush, ()); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Read, - (uint8_t *, size_t, size_t *)); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Write, - (const uint8_t *, size_t, size_t *)); - LLDB_REGISTER_METHOD_CONST(bool, SBFile, IsValid, ()); - LLDB_REGISTER_METHOD_CONST(bool, SBFile, operator bool,()); - LLDB_REGISTER_METHOD_CONST(bool, SBFile, operator!,()); - LLDB_REGISTER_METHOD_CONST(FileSP, SBFile, GetFile, ()); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Close, ()); -} -} // namespace repro -} // namespace lldb_private |
