[lldb-dev] LLDB C++ API causes SIGSEGV
Rui Liu via lldb-dev
lldb-dev at lists.llvm.org
Sun Mar 8 13:53:45 PDT 2020
Hi LLDB devs,
I'm trying to build a debugger integration that uses LLDB C++ API. Due to
lack of documentation, I'm basically using the examples in the python API
as a guidance.
I had following code, which basically contains one line creating a
SBDebugger, but it generates a SIGSEGV fault......
#include <LLDB.h>
using namespace lldb;
int main()
{
SBDebugger debugger = SBDebugger::Create();
}
Did I do something wrong?
Kind regards,
Rui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200308/66caf376/attachment.html>
More information about the lldb-dev
mailing list