On Sat, Oct 4, 2014 at 10:49 PM, Milian Wolff <[email protected]> wrote:

>> * global vs thread local vs none should be based on the caching
>> policy. It's possible that this is what you've done.
>
> That is actually something I'm not so sure about I did correctly. If I'm not
> mistaken, the old cache behavior was always global, no? It always used the
> cache set in the unw_addr_space_t (which is global, and not per-thread, no?).
> Now, with the code I copied over, I think it's going to be global/thread-
> local/none as you say. But if someone could review that, I'd appreciate that.

That's right. src/dwarf/Gparser.c supports only UNW_CACHE_NONE or
UNW_CACHE_GLOBAL.

The only platform that supports UNW_CACHE_PER_THREAD is ia64 via a
__thread cache.

 -Arun

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

Reply via email to