llvm-project/compiler-rt/lib
Kostya Kortchinsky c955989046 [scudo][standalone] Simplify populateFreelist
`populateFreelist` was more complicated that it needed to be. We used
to call to `populateBatches` that would do some internal shuffling and
add pointers one by one to the batches, but ultimately this was not
needed. We can get rid of `populateBatches`, and do processing in
bulk. This doesn't necessarily make things faster as this is not on the
hot path, but it makes the function cleaner.

Additionally clean up a couple of items, like `UNLIKELY`s and setting
`Exhausted` to `false` which can't happen.

Differential Revision: https://reviews.llvm.org/D90700
2020-11-06 09:44:36 -08:00
..
BlocksRuntime
asan Reland [lsan] Enable LSAN for Android 2020-11-04 18:00:25 -08:00
builtins [darwin] add support for __isPlatformVersionAtLeast check for if (@available) 2020-11-02 16:28:09 -08:00
cfi [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
crt [cmake] Strip quotes in compiler-rt/lib/crt; error if checks fail 2020-03-09 15:52:39 -07:00
dfsan Set Huge Page mode on shadow regions based on no_huge_pages_for_shadow 2020-10-20 16:50:59 +00:00
fuzzer [compiler-rt][NFC] Fix typo in comment 2020-11-02 13:05:03 +08:00
gwp_asan [GWP-ASan] Stub out backtrace/signal functions on Fuchsia 2020-11-02 13:49:50 -08:00
hwasan [CMake] Remove cxx-headers from runtime deps 2020-10-30 20:03:38 -07:00
interception [sanitizer] Remove -Wno-non-virtual-dtor 2020-11-04 00:51:33 -08:00
lsan [NFC] Fix cpplint warnings 2020-11-04 22:56:08 -08:00
memprof [memprof] Don't protect destructor in final 2020-11-03 11:33:33 -08:00
msan [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
profile [CMake] Add -fno-rtti into tsan unittests 2020-10-30 20:03:38 -07:00
safestack compiler-rt: Rename .cc file in lib/{interception/tests,safestack} to .cpp 2019-08-01 13:56:52 +00:00
sanitizer_common [NFC] Add InitializePlatformCommonFlags for Fuchsia 2020-11-05 10:39:51 -08:00
scudo [scudo][standalone] Simplify populateFreelist 2020-11-06 09:44:36 -08: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] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
ubsan [compiler-rt] [ubsan] Use the itanium type info lookup for mingw targets 2020-11-03 09:59:08 +02: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 [CMake] Avoid accidental C++ standard library dependency in sanitizers 2020-10-31 02:37:38 -07:00
CMakeLists.txt [MemProf] Decouple memprof build from COMPILER_RT_BUILD_SANITIZERS 2020-10-26 13:52:50 -07:00