llvm-project/compiler-rt/lib
Ryan Prichard 8cbb6ccc7f [builtins] Cleanup generic-file filtering
Split filter_builtin_sources into two functions:
 - filter_builtin_sources that removes generic files when an
   arch-specific file is selected.
 - darwin_filter_builtin_sources that implements the EXCLUDE/INCLUDE
   lists (using the files in lib/builtins/Darwin-excludes).

darwin_filter_builtin_sources delegates to filter_builtin_sources.

Previously, lib/builtins/CMakeLists.txt had a number of calls to
filter_builtin_sources (with a confusing/broken use of the
`excluded_list` parameter), as well as a redundant arch-vs-generic
filtering for the non-Apple code path at the end of the file. Replace
all of this with a single call to filter_builtin_sources.

Remove i686_SOURCES. Previously, this list contained only the
arch-specific files common to 32-bit and 64-bit x86, which is a strange
set. Normally the ${ARCH}_SOURCES list contains everything needed for
the arch. "i686" isn't in ALL_BUILTIN_SUPPORTED_ARCH.

NFCI, but i686_SOURCES won't be defined, and the order of files in
${arch}_SOURCES lists will change.

Differential Revision: https://reviews.llvm.org/D82151
2020-07-13 16:53:07 -07:00
..
BlocksRuntime
asan Revert "Temporarily disable the following failing tests on Darwin:" 2020-07-07 10:15:46 -07:00
builtins [builtins] Cleanup generic-file filtering 2020-07-13 16:53:07 -07:00
cfi Improve error message when '=' is missing in {ASAN,...}_OPTIONS. 2019-06-15 01:37:14 +00:00
crt [cmake] Strip quotes in compiler-rt/lib/crt; error if checks fail 2020-03-09 15:52:39 -07:00
dfsan [dfsan] Remove realloc from done_abilist.txt 2020-05-05 22:32:45 -07:00
fuzzer [libFuzzer] Fixed description of fuzzer merge control file. 2020-05-29 16:00:26 -07:00
gwp_asan [GWP-ASan] Use functions in backtrace test, not line numbers. 2020-03-26 10:10:24 -07:00
hwasan [NFC] Rename variable to workaround old gcc bug 2020-06-10 12:14:53 -07:00
interception Fix check-interception link error in compiler-rt debug mode 2019-10-10 23:30:54 +00:00
lsan [LSan] Enable for SystemZ 2020-06-16 13:45:29 +02:00
msan [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
profile [gcov] Move llvm_writeout_files from atexit to a static destructor 2020-07-01 16:41:55 -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 [Sanitizers] Ensure clock_getcpuclockid interceptor <= 80 chars 2020-07-13 23:18:10 +00:00
scudo [scudo][standalone] Allow Primary allocations to fail up multiple times. 2020-06-18 11:46:39 -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 [TSan] Revert removal of ignore_interceptors_accesses flag 2020-06-08 12:35:43 -07:00
ubsan Update ubsan_interface.inc for D71491 2020-07-13 15:40:24 -07:00
ubsan_minimal [ubsan] Check implicit casts in ObjC for-in statements 2020-07-13 15:11:18 -07:00
xray [xray] Option to omit the function index 2020-06-17 13:49:01 -04:00
CMakeLists.txt scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00