[compiler-rt] 73324cb - [ASan] Remove COMPILER_RT_ASAN_SHADOW_SCALE_DEFINITION. (#91832)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 00:04:38 PDT 2024


Author: Enna1
Date: 2024-05-15T15:04:34+08:00
New Revision: 73324cbc9c5892541aa82d466799748b435ece29

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

LOG: [ASan] Remove COMPILER_RT_ASAN_SHADOW_SCALE_DEFINITION. (#91832)

Since the set of COMPILER_RT_ASAN_SHADOW_SCALE_DEFINITION is removed in
commit 8421fa5d536aadf42c0e54c566bc439a40ebdb8e,
cleanup the use of COMPILER_RT_ASAN_SHADOW_SCALE_DEFINITION.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/asan/CMakeLists.txt b/compiler-rt/lib/asan/CMakeLists.txt
index 601750f72175d..463ea233b37aa 100644
--- a/compiler-rt/lib/asan/CMakeLists.txt
+++ b/compiler-rt/lib/asan/CMakeLists.txt
@@ -88,7 +88,7 @@ set(ASAN_CFLAGS ${SANITIZER_COMMON_CFLAGS})
 
 append_list_if(MSVC /Zl ASAN_CFLAGS)
 
-set(ASAN_COMMON_DEFINITIONS ${COMPILER_RT_ASAN_SHADOW_SCALE_DEFINITION})
+set(ASAN_COMMON_DEFINITIONS "")
 
 append_rtti_flag(OFF ASAN_CFLAGS)
 


        


More information about the llvm-commits mailing list