<div dir="ltr">Actually I just realized I've posted a related question before: "process calling lldb to symbolicate its own backtrace". <div>However it didn't seem so easy to do judging from the thread. Has anything changed since then? There should be a simple way to do this important task.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 1:08 PM, Timothee Cour <span dir="ltr"><<a href="mailto:thelastmammoth@gmail.com" target="_blank">thelastmammoth@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
</blockquote></div><br></div>