llvm-project/compiler-rt/cmake
Raul Tambre a72d462eb9 Re-apply "[CMake][compiler-rt][AArch64] Avoid preprocessing LSE builtins separately"
aa772fc85e (D92530) has landed fixing relocations on Darwin.
3000c19df6 (D93236) has landed working around an assembly parser bug on Darwin.
Previous quick-fix d9697c2e6b (D93198) included in this commit.

Invoking the preprocessor ourselves is fragile and would require us to replicate CMake's handling of definitions, compiler flags, etc for proper compatibility.
In my toolchain builds this notably resulted in a bunch of warnings from unused flags as my CMAKE_C_FLAGS includes CPU-specific optimization options.
Notably this part was already duplicating the logic for VISIBILITY_HIDDEN define.

Instead, symlink the files and set the proper set of defines on each.
This should also be faster as we avoid invoking the compiler multiple times.

Fixes https://llvm.org/PR48494

Differential Revision: https://reviews.llvm.org/D93278
2020-12-15 08:18:07 +02:00
..
Modules Re-apply "[CMake][compiler-rt][AArch64] Avoid preprocessing LSE builtins separately" 2020-12-15 08:18:07 +02:00
caches
base-config-ix.cmake [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
builtin-config-ix.cmake [compiler-rt] [builtins] Use _Float16 on extendhfsf2, truncdfhf2 __truncsfhf2 if available 2020-12-03 16:08:55 -03:00
config-ix.cmake Reland [lsan] Enable LSAN for Android 2020-11-04 18:00:25 -08:00