<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">I'd like to use lldb's backtrace as a library as opposed to using lldb program, so that I can generate good stack traces inside a C/C++/D program without having to spawn a separate process that would call 'lldb -p pid'.</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">How should I proceed? Or, what is the relevant function call? </div></div>