[compiler-rt] 7960ba3 - [NFC][LSAN] Remove unused variable
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 14:02:46 PST 2020
Author: Vitaly Buka
Date: 2020-11-04T14:02:28-08:00
New Revision: 7960ba3c49fbef9ea545a4e86308e5841a283737
URL: https://github.com/llvm/llvm-project/commit/7960ba3c49fbef9ea545a4e86308e5841a283737
DIFF: https://github.com/llvm/llvm-project/commit/7960ba3c49fbef9ea545a4e86308e5841a283737.diff
LOG: [NFC][LSAN] Remove unused variable
Depends on D90791.
Differential Revision: https://reviews.llvm.org/D90792
Added:
Modified:
compiler-rt/lib/lsan/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/lib/lsan/CMakeLists.txt b/compiler-rt/lib/lsan/CMakeLists.txt
index 0a07e67ccf28..ff8d38d84849 100644
--- a/compiler-rt/lib/lsan/CMakeLists.txt
+++ b/compiler-rt/lib/lsan/CMakeLists.txt
@@ -1,7 +1,6 @@
include_directories(..)
set(LSAN_CFLAGS ${SANITIZER_COMMON_CFLAGS})
-set(LSAN_LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS})
append_rtti_flag(OFF LSAN_CFLAGS)
set(LSAN_COMMON_SOURCES
@@ -62,7 +61,7 @@ if(COMPILER_RT_HAS_LSAN)
RTSanitizerCommonCoverage
RTSanitizerCommonSymbolizer
CFLAGS ${LSAN_CFLAGS}
- LINK_FLAGS ${LSAN_LINK_FLAGS} ${WEAK_SYMBOL_LINK_FLAGS}
+ LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS} ${WEAK_SYMBOL_LINK_FLAGS}
LINK_LIBS ${LSAN_LINK_LIBS}
PARENT_TARGET lsan)
else()
@@ -79,7 +78,6 @@ if(COMPILER_RT_HAS_LSAN)
$<TARGET_OBJECTS:RTLSanCommon.${arch}>
ADDITIONAL_HEADERS ${LSAN_HEADERS}
CFLAGS ${LSAN_CFLAGS}
- LINK_FLAGS ${LSAN_LINK_FLAGS}
PARENT_TARGET lsan)
endforeach()
endif()
More information about the llvm-commits
mailing list