llvm-project/compiler-rt/lib
Kostya Kortchinsky 8d4ba5fd23 [scudo] Allow for non-Android Shared TSD platforms, part 1
Summary:
This first part just prepares the grounds for part 2 and doesn't add any new
functionality. It mostly consists of small refactors:
- move the `pthread.h` include higher as it will be used in the headers;
- use `errno.h` in `scudo_allocator.cpp` instead of the sanitizer one, update
  the `errno` assignments accordingly (otherwise it creates conflicts on some
  platforms due to `pthread.h` including `errno.h`);
- introduce and use `getCurrentTSD` and `setCurrentTSD` for the shared TSD
  model code;

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: llvm-commits, srhines

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

llvm-svn: 315583
2017-10-12 15:01:09 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [asan] Disable wcslen test on 32-bit Android. 2017-10-07 00:04:24 +00:00
builtins [X86] Add Knights Mill CPU to cpu_indicator support to match libgcc. 2017-10-11 20:35:43 +00:00
cfi Limit CFI blacklist entries to specific CFI mode 2017-10-09 17:11:44 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan [esan] Use stack_t instead of struct sigaltstack (PR34011) 2017-08-22 21:54:37 +00:00
fuzzer [libFuzzer] disable use_feature_frequency as it degrades some of the benchmarks too much :( 2017-10-11 20:31:01 +00:00
interception [Fuchsia] Magenta -> Zircon 2017-09-13 01:18:15 +00:00
lsan Revert "[LSan] Detect dynamic loader by its base address." 2017-10-05 22:53:17 +00:00
msan [compiler-rt] Cleanup decorators 2017-09-11 20:55:49 +00:00
profile [profile] Update InstrProfData.inc 2017-09-18 23:37:32 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common Revert r315533 "Reland "[sanitizer] Introduce ReservedAddressRange to sanitizer_common"" 2017-10-12 03:23:31 +00:00
scudo [scudo] Allow for non-Android Shared TSD platforms, part 1 2017-10-12 15:01:09 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan Disable TSan tests on Android. 2017-10-11 21:22:45 +00:00
ubsan [sanitizer] Don't intercept signal and sigaction on Fuchsia 2017-10-09 18:29:52 +00:00
ubsan_minimal [ubsan-minimal] Make the interface more compatible with RTUBSan 2017-09-19 06:46:36 +00:00
xray [XRay][compiler-rt] Fix rdtscp support check for x86_64 2017-10-10 12:44:20 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00