llvm-project/compiler-rt/lib
Kostya Kortchinsky 8b062b6160 [scudo] Ensure proper allocator alignment in TSD test
The `MockAllocator` used in `ScudoTSDTest` wasn't allocated
properly aligned, which resulted in the `TSDs` of the shared
registry not being aligned either. This lead to some failures
like: https://reviews.llvm.org/D103119#2822008

This changes how the `MockAllocator` is allocated, same as
Vitaly did in the combined tests, properly aligning it, which
results in the `TSDs` being aligned as well.

Add a `DCHECK` in the shared registry to check that it is.

Differential Revision: https://reviews.llvm.org/D104402
2021-06-16 14:21:58 -07:00
..
BlocksRuntime
asan [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
builtins Fix Windows builders after 244601f472 2021-06-15 09:47:29 +01:00
cfi [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
crt [RISCV][crt] support building without init_array 2020-12-01 17:17:50 +03:00
dfsan [dfsan] Add stack-trace printing functions to dfsan interface 2021-06-14 14:09:00 -07:00
fuzzer [fuzzer] Fix build on musl 2021-06-13 12:32:07 -07:00
gwp_asan [Scudo] Use GWP-ASan's aligned allocations and fixup postalloc hooks. 2021-05-10 12:56:18 -07:00
hwasan [compiler-rt][hwasan] Add GetShadowOffset function 2021-06-15 10:46:11 -07:00
interception [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
lsan [lsan] Bump the thread limit from 1<<13 to 1<<22 2021-06-04 20:15:56 -07:00
memprof sanitizer_common: deduplicate CheckFailed 2021-05-12 08:50:53 +02:00
msan [NFC][msan] Fix assigned-unused warning 2021-06-02 00:09:02 -07:00
orc [ORC-RT] Fix void function handling in the WrapperFunction utility. 2021-06-15 15:49:40 +10:00
profile [Profile] Remove redundant check 2021-06-10 16:24:53 -07:00
safestack [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
sanitizer_common [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
scudo [scudo] Ensure proper allocator alignment in TSD test 2021-06-16 14:21:58 -07:00
stats compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
tsan [sanitizer] Simplify __sanitizer::BufferedStackTrace::UnwindImpl implementations 2021-05-13 21:26:31 -07:00
ubsan [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
ubsan_minimal [compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in glibc 2020-10-12 09:57:12 -07:00
xray [XRay][compiler-rt][x86_64] Fix CFI directives in assembly trampolines 2021-03-06 10:38:27 -08:00
CMakeLists.txt [ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes. 2021-04-24 16:00:20 -07:00