[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
This commit is contained in:
Jonas Devlieghere
2022-01-07 16:26:40 -08:00
parent 4a8549354c
commit d51402ac6b
74 changed files with 77 additions and 6208 deletions

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "lldb/API/SBSourceManager.h"
#include "SBReproducerPrivate.h"
#include "lldb/Utility/ReproducerInstrumentation.h"
#include "lldb/API/SBDebugger.h"
#include "lldb/API/SBStream.h"
#include "lldb/API/SBTarget.h"
@@ -137,27 +137,3 @@ size_t SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn(
file.ref(), line, column, context_before, context_after,
current_line_cstr, s.get());
}
namespace lldb_private {
namespace repro {
template <>
void RegisterMethods<SBSourceManager>(Registry &R) {
LLDB_REGISTER_CONSTRUCTOR(SBSourceManager, (const lldb::SBDebugger &));
LLDB_REGISTER_CONSTRUCTOR(SBSourceManager, (const lldb::SBTarget &));
LLDB_REGISTER_CONSTRUCTOR(SBSourceManager, (const lldb::SBSourceManager &));
LLDB_REGISTER_METHOD(
const lldb::SBSourceManager &,
SBSourceManager, operator=,(const lldb::SBSourceManager &));
LLDB_REGISTER_METHOD(size_t, SBSourceManager,
DisplaySourceLinesWithLineNumbers,
(const lldb::SBFileSpec &, uint32_t, uint32_t,
uint32_t, const char *, lldb::SBStream &));
LLDB_REGISTER_METHOD(size_t, SBSourceManager,
DisplaySourceLinesWithLineNumbersAndColumn,
(const lldb::SBFileSpec &, uint32_t, uint32_t,
uint32_t, uint32_t, const char *, lldb::SBStream &));
}
}
}