[compiler-rt] f135a91 - [gwpAsan] revert minor change

Michael Jones via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 16:24:09 PDT 2021


Author: Michael Jones
Date: 2021-08-04T23:24:04Z
New Revision: f135a91c72c5744bd40614ee4c0411be68baf16f

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

LOG: [gwpAsan] revert minor change

This change reverts a small cmake change that was causing buildbot
failures.

Differential Revision: https://reviews.llvm.org/D107510

Added: 
    

Modified: 
    compiler-rt/lib/gwp_asan/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/gwp_asan/CMakeLists.txt b/compiler-rt/lib/gwp_asan/CMakeLists.txt
index 070c57eb990eb..a6dcc7b3de770 100644
--- a/compiler-rt/lib/gwp_asan/CMakeLists.txt
+++ b/compiler-rt/lib/gwp_asan/CMakeLists.txt
@@ -33,10 +33,10 @@ set(GWP_ASAN_HEADERS
 # Ensure that GWP-ASan meets the delegated requirements of some supporting
 # allocators. Some supporting allocators (e.g. scudo standalone) cannot use any
 # parts of the C++ standard library.
-set(GWP_ASAN_CFLAGS -fno-rtti -fno-exceptions
+set(GWP_ASAN_CFLAGS ${SANITIZER_COMMON_CFLAGS} -fno-rtti -fno-exceptions
     -nostdinc++ -pthread -fno-omit-frame-pointer)
 append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC GWP_ASAN_CFLAGS)
-append_list_if(COMPILER_RT_HAS_SANITIZER_COMMON, ${SANITIZER_COMMON_CFLAGS} GWP_ASAN_CFLAGS)
+# append_list_if(COMPILER_RT_HAS_SANITIZER_COMMON ${SANITIZER_COMMON_CFLAGS} GWP_ASAN_CFLAGS)
 
 # Remove -stdlib= which is unused when passing -nostdinc++.
 string(REGEX REPLACE "-stdlib=[a-zA-Z+]*" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})


        


More information about the llvm-commits mailing list