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

via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 20:32:11 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Enna1 (Enna1)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/91832.diff


1 Files Affected:

- (modified) compiler-rt/lib/asan/CMakeLists.txt (+1-1) 


``````````diff
diff --git a/compiler-rt/lib/asan/CMakeLists.txt b/compiler-rt/lib/asan/CMakeLists.txt
index 601750f72175d..a4a10bb331b58 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)
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/91832


More information about the llvm-commits mailing list