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

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 14:16:45 PDT 2024


https://github.com/alexander-shaposhnikov created https://github.com/llvm/llvm-project/pull/98224

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

>From b9213298b2322664789a9f0ed01e6b2d84f5780f Mon Sep 17 00:00:00 2001
From: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: Tue, 9 Jul 2024 21:14:57 +0000
Subject: [PATCH] [compiler-rt][nsan] cmake cleanup

---
 compiler-rt/lib/nsan/tests/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

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