[lldb-dev] using lldb's backtrace as a library

Timothee Cour thelastmammoth at gmail.com
Tue Mar 4 13:32:24 PST 2014


Actually I just realized I've posted a related question before: "process
calling lldb to symbolicate its own backtrace".
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.


On Tue, Mar 4, 2014 at 1:08 PM, Timothee Cour <thelastmammoth at gmail.com>wrote:

> 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'.
>
> How should I proceed? Or, what is the relevant function call?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140304/95df261d/attachment.html>


More information about the lldb-dev mailing list