Lines Matching +full:- +full:fpie
6 # SANITIZER_COMMON_CFLAGS contains -fPIC, but it's performance-critical for
7 # TSan runtime to be built with -fPIE to reduce the number of register spills.
8 append_list_if(COMPILER_RT_HAS_FPIE_FLAG -fPIE TSAN_CFLAGS)
14 list(APPEND TSAN_CFLAGS -DTSAN_COLLECT_STATS=1
15 -DTSAN_DEBUG_OUTPUT=2)
19 append_list_if(COMPILER_RT_HAS_MSSE3_FLAG -msse3 TSAN_RTL_CFLAGS)
20 append_list_if(SANITIZER_LIMIT_FRAME_SIZE -Wframe-larger-than=512
22 append_list_if(COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -Wglobal-constructors
100 set_target_properties(tsan PROPERTIES FOLDER "Compiler-RT Misc")
104 # Xcode will try to compile this file as C ('clang -x c'), and that will fail.
149 DEPENDS clang_rt.tsan-${arch} ${BUILDGO_SCRIPT}
181 list(APPEND TSAN_RUNTIME_LIBRARIES clang_rt.tsan-${arch}
182 clang_rt.tsan_cxx-${arch})
189 add_dependencies(tsan clang_rt.tsan-${arch}
190 clang_rt.tsan_cxx-${arch}
191 clang_rt.tsan-${arch}-symbols
192 clang_rt.tsan_cxx-${arch}-symbols)
196 add_dependencies(compiler-rt tsan)
198 # Make sure that non-platform-specific files don't include any system headers.
199 # FreeBSD does not install a number of Clang-provided headers for the compiler
201 # versions. As a workaround do not use --sysroot=. on FreeBSD until this is
209 PROPERTIES COMPILE_FLAGS "--sysroot=.")
221 CFLAGS ${TARGET_CFLAGS} -fsanitize=thread)