[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/SBFileSpecList.h"
#include "SBReproducerPrivate.h"
#include "lldb/Utility/ReproducerInstrumentation.h"
#include "Utils.h"
#include "lldb/API/SBFileSpec.h"
#include "lldb/API/SBStream.h"
@@ -122,30 +122,3 @@ bool SBFileSpecList::GetDescription(SBStream &description) const {
return true;
}
namespace lldb_private {
namespace repro {
template <>
void RegisterMethods<SBFileSpecList>(Registry &R) {
LLDB_REGISTER_CONSTRUCTOR(SBFileSpecList, ());
LLDB_REGISTER_CONSTRUCTOR(SBFileSpecList, (const lldb::SBFileSpecList &));
LLDB_REGISTER_METHOD(
const lldb::SBFileSpecList &,
SBFileSpecList, operator=,(const lldb::SBFileSpecList &));
LLDB_REGISTER_METHOD_CONST(uint32_t, SBFileSpecList, GetSize, ());
LLDB_REGISTER_METHOD(void, SBFileSpecList, Append,
(const lldb::SBFileSpec &));
LLDB_REGISTER_METHOD(bool, SBFileSpecList, AppendIfUnique,
(const lldb::SBFileSpec &));
LLDB_REGISTER_METHOD(void, SBFileSpecList, Clear, ());
LLDB_REGISTER_METHOD(uint32_t, SBFileSpecList, FindFileIndex,
(uint32_t, const lldb::SBFileSpec &, bool));
LLDB_REGISTER_METHOD_CONST(const lldb::SBFileSpec, SBFileSpecList,
GetFileSpecAtIndex, (uint32_t));
LLDB_REGISTER_METHOD_CONST(bool, SBFileSpecList, GetDescription,
(lldb::SBStream &));
}
}
}