llvm-project/compiler-rt/cmake/Modules
Julian Lettner ff756f5231 [compiler-rt][Darwin] Fix linker errors for check-asan
A recent change broke `ninja check-asan` on Darwin by causing an error
during linking of ASan unit tests [1].

Move the addition of `-ObjC` compiler flag outside of the new
`if(COMPILER_RT_STANDALONE_BUILD)` block.  It doesn't add any global
flags (e.g, `${CMAKE_CXX_FLAGS}`) and the decision to add is based
solely on source paths (`${source_rpath}`).

[1] 8b2fcc42b8, https://reviews.llvm.org/D84466

Differential Revision: https://reviews.llvm.org/D85057
2020-07-31 16:43:21 -07:00
..
CustomLibcxx [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
AddCompilerRT.cmake Revert "build: always add support for assembly targets on Darwin" 2020-07-29 15:41:04 -07:00
BuiltinTests.cmake [cmake] Strip quotes in try_compile_only 2019-09-19 11:28:32 +00:00
CompilerRTCompile.cmake [compiler-rt][Darwin] Fix linker errors for check-asan 2020-07-31 16:43:21 -07:00
CompilerRTDarwinUtils.cmake [profile] Add InstrProfilingInternal.c.o to Darwin kext builtins 2020-07-29 17:23:28 -07:00
CompilerRTLink.cmake Make cmake link flag naming consistent 2017-01-10 04:33:04 +00:00
CompilerRTUtils.cmake Revert "[compiler-rt][Android] Stop using detect_target_arch" 2020-07-14 15:05:26 -07:00
HandleCompilerRT.cmake [compiler-rt] Build with correct ABI (PR38025) 2020-04-03 11:53:40 -07:00
SanitizerUtils.cmake build: use Python3 for compiler-rt 2020-04-28 17:29:04 +00:00
UseLibtool.cmake [builtins] Use libtool for builtins when building for Apple platform 2019-06-04 02:38:15 +00:00