We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9694d commit 15022ffCopy full SHA for 15022ff
CMakeLists.txt
@@ -124,6 +124,11 @@ add_compile_definitions(
124
if(CMAKE_SYSTEM_NAME STREQUAL Linux)
125
check_symbol_exists(sched_getaffinity "sched.h" HAVE_SCHED_GETAFFINITY)
126
add_compile_definitions($<$<COMPILE_LANGUAGE:C>:HAVE_SCHED_GETAFFINITY>)
127
+
128
+ # Pass -fno-omit-frame-pointer while compiling for better backtraces
129
+ add_compile_options(
130
+ "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xcc -fno-omit-frame-pointer>"
131
+ "$<$<COMPILE_LANGUAGE:C,CXX>:-fno-omit-frame-pointer>")
132
endif()
133
134
# Precompute module triple for installation
0 commit comments