[compiler-rt] 1c6bc04 - [compiler-rt][nsan] cmake cleanup (#98224)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 17:51:35 PDT 2024


Author: Alexander Shaposhnikov
Date: 2024-07-09T17:51:32-07:00
New Revision: 1c6bc0458de358d327f1ff6aa07eef522090bebb

URL: https://github.com/llvm/llvm-project/commit/1c6bc0458de358d327f1ff6aa07eef522090bebb
DIFF: https://github.com/llvm/llvm-project/commit/1c6bc0458de358d327f1ff6aa07eef522090bebb.diff

LOG: [compiler-rt][nsan] cmake cleanup (#98224)

CMake cleanup. NFC.

Added: 
    

Modified: 
    compiler-rt/lib/nsan/tests/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/nsan/tests/CMakeLists.txt b/compiler-rt/lib/nsan/tests/CMakeLists.txt
index 3d962e70a7bf0..e472fc5c06f90 100644
--- a/compiler-rt/lib/nsan/tests/CMakeLists.txt
+++ b/compiler-rt/lib/nsan/tests/CMakeLists.txt
@@ -23,9 +23,6 @@ set(NSAN_UNITTESTS
 
 add_custom_target(NsanUnitTests)
 
-# set(NSAN_UNITTEST_LINK_FLAGS ${COMPILER_RT_UNITTEST_LINK_FLAGS} -ldl)
-# list(APPEND NSAN_UNITTEST_LINK_FLAGS --driver-mode=g++)
-
 if(COMPILER_RT_DEFAULT_TARGET_ARCH IN_LIST NSAN_SUPPORTED_ARCH)
   # NSan unit tests are only run on the host machine.
   set(arch ${COMPILER_RT_DEFAULT_TARGET_ARCH})


        


More information about the llvm-commits mailing list