From: Vitaly Buka Date: Wed, 4 Nov 2020 21:09:09 +0000 (-0800) Subject: [NFC][LSAN] Remove unused variable X-Git-Tag: llvmorg-13-init~7042 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7960ba3c49fbef9ea545a4e86308e5841a283737;p=platform%2Fupstream%2Fllvm.git [NFC][LSAN] Remove unused variable Depends on D90791. Differential Revision: https://reviews.llvm.org/D90792 --- diff --git a/compiler-rt/lib/lsan/CMakeLists.txt b/compiler-rt/lib/lsan/CMakeLists.txt index 0a07e67..ff8d38d 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) $ ADDITIONAL_HEADERS ${LSAN_HEADERS} CFLAGS ${LSAN_CFLAGS} - LINK_FLAGS ${LSAN_LINK_FLAGS} PARENT_TARGET lsan) endforeach() endif()