summaryrefslogtreecommitdiff
path: root/CREDITS.TXT
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-12-09 02:23:33 +0000
committerKamil Rytarowski <n54@gmx.com>2017-12-09 02:23:33 +0000
commit917606ab37d00d8877ceda6b23bde60a79f09bc4 (patch)
treef6c7fd6b29777197f58dd7d4e3453e0ba019a6f0 /CREDITS.TXT
parent32e20e4417a0dd8870d8ec5c9be21f5c2d1ebc63 (diff)
Correct handling of the TLS/NetBSD block of the main program
Summary: Include <sys/tls.h> for: - struct tls_tcb - thread control block structure - __HAVE___LWP_GETTCB_FAST - __lwp_gettcb_fast() is available - __HAVE___LWP_GETPRIVATE_FAST - __lwp_getprivate_fast() is available - __HAVE_TLS_VARIANT_I - TLS Variant I for this architecture - __HAVE_TLS_VARIANT_II - TLS Variant II for this architecture Rename ThreadSelfSegbase() to ThreadSelfTlsTcb and switch it to retrieve in a portable way TCB. Switch ThreadSelf() to retrieve pthread from struct tcb_tls. Use dl_iterate_phdr() to find out the size of TLS block of the main program. Correct the index of the TLS block of the main program (dlpi_tls_modid); it's 1, not 2. New NetBSD code is now CPU (NetBSD port) agnostic. Stop sharing the same code with FreeBSD. Sponsored by <The NetBSD Foundation> Reviewers: dvyukov, joerg, vitalybuka Reviewed By: vitalybuka Subscribers: emaste, kubamracek, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D40159 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@320234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CREDITS.TXT')
0 files changed, 0 insertions, 0 deletions