summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-12-10 12:19:30 -0800
committerEric Christopher <echristo@gmail.com>2019-12-10 12:29:46 -0800
commitc9e0b354e2749ce7ab553974692cb35c8651a869 (patch)
treeb15ce91461b0a934920362f501071702f0f7464a /lldb/source/API
parenta2602bdd7316e3e41366f946a83a5a654b909957 (diff)
downloadbcm5719-llvm-c9e0b354e2749ce7ab553974692cb35c8651a869.tar.gz
bcm5719-llvm-c9e0b354e2749ce7ab553974692cb35c8651a869.zip
Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple GDB remotes
This was causing a crash in opt+assert builds on linux and a follow-up message was posted. This reverts commit e81268d03e73aef4f9c7bd8ece8ad02f5b017dcf
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBDebugger.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index d9dd7d423ae..52d0fd36c1a 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -316,9 +316,8 @@ SBError SBDebugger::SetInputFile(SBFile file) {
FileSP file_sp = file.m_opaque_sp;
- static std::unique_ptr<repro::MultiLoader<repro::CommandProvider>> loader =
- repro::MultiLoader<repro::CommandProvider>::Create(
- repro::Reproducer::Instance().GetLoader());
+ static std::unique_ptr<repro::CommandLoader> loader =
+ repro::CommandLoader::Create(repro::Reproducer::Instance().GetLoader());
if (loader) {
llvm::Optional<std::string> nextfile = loader->GetNextFile();
FILE *fh = nextfile ? FileSystem::Instance().Fopen(nextfile->c_str(), "r")
OpenPOWER on IntegriCloud