OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16aa00b
)
[compiler-rt][CMake] Define HAS_ASM_LSE on Apple if available
author
Raul Tambre
<raul@tambre.ee>
Mon, 14 Dec 2020 09:24:02 +0000
(11:24 +0200)
committer
Raul Tambre
<raul@tambre.ee>
Mon, 14 Dec 2020 09:26:24 +0000
(11:26 +0200)
Should hopefully fix
33b740f8dc3496237619a7bc6722f23655cb1f94
(D93178) failing on bots.
Differential Revision: https://reviews.llvm.org/D93198
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
patch
|
blob
|
history
diff --git
a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
index
f6689c2
..
456a8dc
100644
(file)
--- a/
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
@@
-395,7
+395,9
@@
macro(darwin_add_builtin_libraries)
set(CMAKE_CXX_FLAGS "")
set(CMAKE_ASM_FLAGS "")
- set(PROFILE_SOURCES ../profile/InstrProfiling
+ append_string_if(COMPILER_RT_HAS_ASM_LSE " -DHAS_ASM_LSE" CFLAGS)
+
+ set(PROFILE_SOURCES ../profile/InstrProfiling
../profile/InstrProfilingBuffer
../profile/InstrProfilingPlatformDarwin
../profile/InstrProfilingWriter