Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions lldb/include/lldb/API/SBReproducer.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@

#include "lldb/API/SBDefines.h"

namespace lldb_private {
namespace repro {
struct ReplayOptions;
}
} // namespace lldb_private

namespace lldb {

#ifndef SWIG
Expand Down
9 changes: 0 additions & 9 deletions lldb/include/lldb/Core/Debugger.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ class Stream;
class SymbolContext;
class Target;

namespace repro {
class DataRecorder;
}

/// \class Debugger Debugger.h "lldb/Core/Debugger.h"
/// A class to manage flag bits.
///
Expand Down Expand Up @@ -143,8 +139,6 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
return m_error_stream_sp->GetUnlockedFileSP();
}

repro::DataRecorder *GetInputRecorder();

Status SetInputString(const char *data);

void SetInputFile(lldb::FileSP file);
Expand Down Expand Up @@ -720,9 +714,6 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
lldb::LockableStreamFileSP m_error_stream_sp;
LockableStreamFile::Mutex m_output_mutex;

/// Used for shadowing the input file when capturing a reproducer.
repro::DataRecorder *m_input_recorder;

lldb::BroadcasterManagerSP m_broadcaster_manager_sp; // The debugger acts as a
// broadcaster manager of
// last resort.
Expand Down
121 changes: 0 additions & 121 deletions lldb/scripts/reproducer-replay.py

This file was deleted.

20 changes: 2 additions & 18 deletions lldb/source/API/SBReproducer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,14 @@
//===----------------------------------------------------------------------===//

#include "lldb/API/SBReproducer.h"
#include "lldb/API/LLDB.h"
#include "lldb/API/SBAddress.h"
#include "lldb/API/SBAttachInfo.h"
#include "lldb/API/SBBlock.h"
#include "lldb/API/SBBreakpoint.h"
#include "lldb/API/SBCommandInterpreter.h"
#include "lldb/API/SBCommandInterpreterRunOptions.h"
#include "lldb/API/SBData.h"
#include "lldb/API/SBDebugger.h"
#include "lldb/API/SBDeclaration.h"
#include "lldb/API/SBError.h"
#include "lldb/API/SBFileSpec.h"
#include "lldb/API/SBHostOS.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Utility/Instrumentation.h"
#include "lldb/Version/Version.h"

using namespace lldb;
using namespace lldb_private;
using namespace lldb_private::repro;

SBReplayOptions::SBReplayOptions() {}
SBReplayOptions::SBReplayOptions() = default;

SBReplayOptions::SBReplayOptions(const SBReplayOptions &rhs) {}
SBReplayOptions::SBReplayOptions(const SBReplayOptions &rhs) = default;

SBReplayOptions::~SBReplayOptions() = default;

Expand Down
3 changes: 0 additions & 3 deletions lldb/source/Core/Debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,6 @@ Debugger::Debugger(lldb::LogOutputCallback log_callback, void *baton)
stdout, NativeFile::Unowned, m_output_mutex)),
m_error_stream_sp(std::make_shared<LockableStreamFile>(
stderr, NativeFile::Unowned, m_output_mutex)),
m_input_recorder(nullptr),
m_broadcaster_manager_sp(BroadcasterManager::MakeBroadcasterManager()),
m_terminal_state(), m_target_list(*this), m_platform_list(),
m_listener_sp(Listener::MakeListener("lldb.Debugger")),
Expand Down Expand Up @@ -1072,8 +1071,6 @@ void Debugger::SetAsyncExecution(bool async_execution) {
m_command_interpreter_up->SetSynchronous(!async_execution);
}

repro::DataRecorder *Debugger::GetInputRecorder() { return m_input_recorder; }

static inline int OpenPipe(int fds[2], std::size_t size) {
#ifdef _WIN32
return _pipe(fds, size, O_BINARY);
Expand Down
3 changes: 0 additions & 3 deletions lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
#include "llvm/ADT/StringMap.h"

namespace lldb_private {
namespace repro {
class Loader;
}
namespace process_gdb_remote {

class ThreadGDBRemote;
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Core/DiagnosticEventTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

using namespace lldb;
using namespace lldb_private;
using namespace lldb_private::repro;

static const constexpr std::chrono::seconds TIMEOUT(0);
static const constexpr size_t DEBUGGERS = 3;
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Interpreter/TestCommandPaths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "gtest/gtest.h"

using namespace lldb_private;
using namespace lldb_private::repro;
using namespace lldb;

namespace {
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Platform/PlatformSiginfoTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

using namespace lldb;
using namespace lldb_private;
using namespace lldb_private::repro;

namespace {
class PlatformSiginfoTest : public ::testing::Test {
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Process/ProcessEventDataTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "gtest/gtest.h"

using namespace lldb_private;
using namespace lldb_private::repro;
using namespace lldb;

namespace {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "gtest/gtest.h"

using namespace lldb_private;
using namespace lldb_private::repro;
using namespace lldb;

namespace {
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Target/ExecutionContextTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "gtest/gtest.h"

using namespace lldb_private;
using namespace lldb_private::repro;
using namespace lldb;

namespace {
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Target/MemoryTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "gtest/gtest.h"

using namespace lldb_private;
using namespace lldb_private::repro;
using namespace lldb;

namespace {
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Target/StackFrameRecognizerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "gtest/gtest.h"

using namespace lldb_private;
using namespace lldb_private::repro;
using namespace lldb;

namespace {
Expand Down
1 change: 0 additions & 1 deletion lldb/unittests/Thread/ThreadTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "gtest/gtest.h"

using namespace lldb_private;
using namespace lldb_private::repro;
using namespace lldb;

namespace {
Expand Down
Loading