aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API/SystemInitializerFull.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2021-12-17 14:45:24 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2021-12-17 17:14:52 -0800
commitfa1260697ec80ac0586d67c0de8758818ca865c0 (patch)
tree19c2fe44f783ace334d1082b78c2b654f5236d61 /lldb/source/API/SystemInitializerFull.cpp
parent713ee230f884651afd17ab7b910e85a992ce406b (diff)
downloadllvm-fa1260697ec80ac0586d67c0de8758818ca865c0.zip
llvm-fa1260697ec80ac0586d67c0de8758818ca865c0.tar.gz
llvm-fa1260697ec80ac0586d67c0de8758818ca865c0.tar.bz2
[lldb] Remove reproducer replay functionality
This is part of a bigger rework of the reproducer feature. See [1] for more details. [1] https://lists.llvm.org/pipermail/lldb-dev/2021-September/017045.html
Diffstat (limited to 'lldb/source/API/SystemInitializerFull.cpp')
-rw-r--r--lldb/source/API/SystemInitializerFull.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp
index cc6cb692..b01cb2f 100644
--- a/lldb/source/API/SystemInitializerFull.cpp
+++ b/lldb/source/API/SystemInitializerFull.cpp
@@ -50,15 +50,8 @@ SystemInitializerFull::~SystemInitializerFull() = default;
llvm::Error SystemInitializerFull::Initialize() {
llvm::Error error = SystemInitializerCommon::Initialize();
- if (error) {
- // During active replay, the ::Initialize call is replayed like any other
- // SB API call and the return value is ignored. Since we can't intercept
- // this, we terminate here before the uninitialized debugger inevitably
- // crashes.
- if (repro::Reproducer::Instance().IsReplaying())
- llvm::report_fatal_error(std::move(error));
+ if (error)
return error;
- }
// Initialize LLVM and Clang
llvm::InitializeAllTargets();