Go to file
Kostya Kortchinsky 392480952c [scudo] Scudo thread specific data refactor, part 1
Summary:
We are going through an overhaul of Scudo's TSD, to allow for new platforms
to be integrated more easily, and make the code more sound.

This first part is mostly renaming, preferring some shorter names, correcting
some comments. I removed `getPrng` and `getAllocatorCache` to directly access
the members, there was not really any benefit to them (and it was suggested by
Dmitry in D37590).

The only functional change is in `scudo_tls_android.cpp`: we enforce bounds to
the `NumberOfTSDs` and most of the logic in `getTSDAndLockSlow` is skipped if we
only have 1 TSD.

Reviewers: alekseyshl, dvyukov, kcc

Reviewed By: dvyukov

Subscribers: llvm-commits, srhines

Differential Revision: https://reviews.llvm.org/D38139

llvm-svn: 313987
2017-09-22 15:35:37 +00:00
clang Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00
clang-tools-extra [clang-tidy] Fix example in documentation, NFC 2017-09-22 04:37:56 +00:00
compiler-rt [scudo] Scudo thread specific data refactor, part 1 2017-09-22 15:35:37 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc Implement cl_khr_int64_extended_atomics builtins 2017-09-20 20:42:19 +00:00
libcxx Revert 313789 because gcc doesn't like it 2017-09-20 19:38:43 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind [libunwind] Partially revert r297174 to fix build on at least FreeBSD. 2017-09-21 21:28:48 +00:00
lld Update for llvm change. 2017-09-21 23:13:40 +00:00
lldb Revert this patch; I was emailing with Eugene and they have some other changes going 2017-09-21 23:02:56 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [x86] remove unnecessary OS specifier from test 2017-09-22 14:38:57 +00:00
openmp Read blocktime value set by kmp_set_blocktime() before reading from KMP_BLOCKTIME 2017-09-05 15:45:48 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly polly-update-format after change in clang-format. NFC. 2017-09-22 11:30:26 +00:00