libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] Patching the stack trace obtained by libunwind?


From: Dave Watson
Subject: Re: [Libunwind-devel] Patching the stack trace obtained by libunwind?
Date: Thu, 21 Sep 2017 08:13:57 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On 09/09/17 10:42 AM, Kirill Müller wrote:
> Hi
> 
> 
> When developing for a script language that also supports native code (such
> as R or Python), it would be great to see an ensemble backtrace that
> contains source information in terms of the scripted language co-mingled
> with the native stack trace. One option to do this would be to support hooks
> that would patch the backtrace reported by libunwind. Would this be
> worthwhile exploring?
> 
> I don't know anything about libunwind's internals, a quick scan of its API
> and the last year's mailing list archives did not reveal anything in this
> direction. Thank you for a short feedback.

Have you looked at the dynamic support yet?

http://www.nongnu.org/libunwind/man/libunwind-dynamic(3).html

It's been a while since I looked at it, I know some pieces of the
support are missing on some platforms.

Alternatively, you could emit dwarf info for the scripting language.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]