Displaying 3 results from an estimated 3 matches for "__libcpp_tls_".
2017 Apr 25
5
RFC: Improving the performance of ItaniumDemangle
...imes faster now with this change (https://reviews.llvm.org/D32500)
>
> Do you know what the llvm policy is on using TLS in library code? I can't
> find any mention of this in the programmer's manual, and my officemates
> don't know either.
>
Both libcxx and libcxxabi use __libcpp_tls_*() functions of the threading
API [2] (which call pthread functions on most platforms) for thread-local
storage needs. IIRC thread_local is not implemented across all the
platforms that llvm support.
If the idea is to improve libcxxabi's demangler, then it should be
straightforward to use thes...
2017 Apr 30
1
RFC: Improving the performance of ItaniumDemangle
...nge (https://reviews.llvm.org/D32500)
>>
>> Do you know what the llvm policy is on using TLS in library code? I can't
>> find any mention of this in the programmer's manual, and my officemates
>> don't know either.
>>
>
> Both libcxx and libcxxabi use __libcpp_tls_*() functions of the threading
> API [2] (which call pthread functions on most platforms) for thread-local
> storage needs. IIRC thread_local is not implemented across all the
> platforms that llvm support.
>
> If the idea is to improve libcxxabi's demangler, then it should be
>...
2017 Apr 25
4
RFC: Improving the performance of ItaniumDemangle
well, top-of-branch lldb uses this code, that's how I found it. Do you
mean libc++'s demangler?
FYI when I said 14+% (and now it's 17%), I mean the overall performance of
starting lldb, not just the demangler itself. It's probably several times
faster now with this change (https://reviews.llvm.org/D32500)
On Tue, Apr 25, 2017 at 12:19 PM, Vedant Kumar <vsk at apple.com>