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

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 14:17:18 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Alexander Shaposhnikov (alexander-shaposhnikov)

<details>
<summary>Changes</summary>

CMake cleanup.
P.S. See also https://github.com/llvm/llvm-project/pull/98221 .

---
Full diff: https://github.com/llvm/llvm-project/pull/98224.diff


1 Files Affected:

- (modified) compiler-rt/lib/nsan/tests/CMakeLists.txt (-3) 


``````````diff
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})

``````````

</details>


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


More information about the llvm-commits mailing list