[Lldb-commits] [PATCH] D58410: [Reproducers] Initialize reproducers before initializing the debugger.
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 19 22:57:19 PST 2019
JDevlieghere marked an inline comment as done.
JDevlieghere added inline comments.
================
Comment at: lldb/source/API/SBReproducer.cpp:49
+SBError SBReproducer::InitializeCapture(const char *path) {
+ SBError error;
+ if (auto e = Reproducer::Initialize(ReproducerMode::Capture, FileSpec(path)))
----------------
The SBError is a problem. We can create it after the initialization, but then we’d need a bogus repro::Record to make sure the api boundary is correctly registered. Let me know if you can think of an alternative.
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58410/new/
https://reviews.llvm.org/D58410
More information about the lldb-commits
mailing list