summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SystemInitializerFull.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-02-21 22:26:16 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-02-21 22:26:16 +0000
commit936c62422f5dc2d493978f1b99e2218016d8ea13 (patch)
tree9f3ba4139206711f46f88ca7779245a9a8407bbb /lldb/source/API/SystemInitializerFull.cpp
parentecfac6cd2ce0421a48c2e878e8efe745afd0b2e8 (diff)
downloadbcm5719-llvm-936c62422f5dc2d493978f1b99e2218016d8ea13.tar.gz
bcm5719-llvm-936c62422f5dc2d493978f1b99e2218016d8ea13.zip
[Reproducers] Initialize reproducers before initializing the debugger.
As per the discussion on the mailing list: http://lists.llvm.org/pipermail/lldb-commits/Week-of-Mon-20190218/048007.html This commit implements option (3): > Go back to initializing the reproducer before the rest of the debugger. > The method wouldn't be instrumented and guarantee no other SB methods are > called or SB objects are constructed. The initialization then becomes part > of the replay. Differential revision: https://reviews.llvm.org/D58410 llvm-svn: 354631
Diffstat (limited to 'lldb/source/API/SystemInitializerFull.cpp')
-rw-r--r--lldb/source/API/SystemInitializerFull.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp
index 3ca1e8c405f..427186f2c42 100644
--- a/lldb/source/API/SystemInitializerFull.cpp
+++ b/lldb/source/API/SystemInitializerFull.cpp
@@ -265,9 +265,8 @@ SystemInitializerFull::SystemInitializerFull() {}
SystemInitializerFull::~SystemInitializerFull() {}
-llvm::Error
-SystemInitializerFull::Initialize(const InitializerOptions &options) {
- if (auto e = SystemInitializerCommon::Initialize(options))
+llvm::Error SystemInitializerFull::Initialize() {
+ if (auto e = SystemInitializerCommon::Initialize())
return e;
breakpad::ObjectFileBreakpad::Initialize();
OpenPOWER on IntegriCloud