hanchenye-llvm-project/compiler-rt/lib
Kostya Kortchinsky 06b891f693 [scudo] Workaround for uninitialized Bionic globals
Summary:
Bionic doesn't initialize its globals early enough. This causes issues when
trying to access them from a preinit_array (b/25751302) or from another
constructor called before the libc one (b/68046352). __progname is initialized
after the other globals, so we can check its value to know if calling
`getauxval` is safe.

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: srhines, llvm-commits

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

llvm-svn: 319099
2017-11-27 21:34:43 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [sanitizers] Add init function to set alignment of low level allocator 2017-11-21 01:01:32 +00:00
builtins [X86] Add cpu detection for cannonlake. 2017-11-19 00:46:21 +00:00
cfi (NFC) Rename GetMax{,User}VirtualAddress. 2017-11-07 23:51:22 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00
fuzzer [fuzzer] Initialize PcDescr buffer before calling __sanitizer_symbolize_pc 2017-11-17 00:46:59 +00:00
interception sanitizer_common: Try looking up symbols with RTLD_DEFAULT if RTLD_NEXT does not work. 2017-11-10 22:09:37 +00:00
lsan Detect thread termination in LSan/NetBSD 2017-11-26 09:42:01 +00:00
msan [msan] Fix signal chaining 2017-11-11 03:03:34 +00:00
profile [profile] Update InstrProfData.inc to sync with llvm 2017-11-14 23:57:58 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [fuchsia] Update Fuchsia with a new mmap implementation. 2017-11-27 19:53:53 +00:00
scudo [scudo] Workaround for uninitialized Bionic globals 2017-11-27 21:34:43 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan Correct NetBSD support in pthread_once(3)/TSan 2017-11-21 09:36:07 +00:00
ubsan [sanitizers] Rename GetStackTraceWithPcBpAndContext 2017-11-09 07:53:06 +00:00
ubsan_minimal [ubsan-minimal] Get rid of the libc++ dependency. 2017-11-11 02:32:02 +00:00
xray [XRay][compiler-rt] Migrate basic mode logging to the XRay framework 2017-11-21 07:29:21 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00