mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
[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:
@@ -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 &));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user