mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 20:54:40 +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/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
|
||||
|
||||
Reference in New Issue
Block a user