[compiler-rt] [llvm] [openmp] [TSan] Add instrumentation of AVX2 and AVX512 instructions (PR #74636)

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 23:53:02 PST 2023


================
@@ -241,6 +241,16 @@ else()
     else()
       set(TSAN_ASM_SOURCES)
     endif()
+    add_compiler_rt_object_libraries(RTTSanAVX2
+        ARCHS ${arch}
+        SOURCES tsan_interface_avx2.cpp
+        ADDITIONAL_HEADERS tsan_interface_avx2.h 
----------------
dvyukov wrote:

Don't we want to export this header always?
The compiler is not necessary used on the machine where the it's built.
If we include it unconditionally, it will also make cmake files simpler.

https://github.com/llvm/llvm-project/pull/74636


More information about the llvm-commits mailing list