On Wed, Dec 18, 2013 at 8:34 AM, Masatake YAMATO <[email protected]> wrote:
> Thank you for replying.
>
> You wrote "if you're unwinding from the same IP address repeatedly."
>
> About strace my understanding is that invalidation is required when
> the target process calls system call which modifies the address space
> like mmap and execve because even IP address is the same IP can point
> different library or executable. Is this correct?

That's right. You don't have to worry about data getting
mapped/unmapped. But dynamically generated code or code that gets
remapped at runtime needs cache invalidation.
There is a man page for libunwind-dynamic, with an API to be used by
JITs. But it was never tested on x86 to my knowledge.

 -Arun

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to