[llvm] a5481e7 - [NFCI] [HWASan] add test for custom section global (#149625)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 21:53:56 PDT 2025
Author: Florian Mayer
Date: 2025-07-18T21:53:53-07:00
New Revision: a5481e7d5af07161b5d135100cb8754ae614accf
URL: https://github.com/llvm/llvm-project/commit/a5481e7d5af07161b5d135100cb8754ae614accf
DIFF: https://github.com/llvm/llvm-project/commit/a5481e7d5af07161b5d135100cb8754ae614accf.diff
LOG: [NFCI] [HWASan] add test for custom section global (#149625)
Added:
Modified:
llvm/test/Instrumentation/HWAddressSanitizer/globals.ll
Removed:
################################################################################
diff --git a/llvm/test/Instrumentation/HWAddressSanitizer/globals.ll b/llvm/test/Instrumentation/HWAddressSanitizer/globals.ll
index 4e22f5fec0067..f5ae1c0f80497 100644
--- a/llvm/test/Instrumentation/HWAddressSanitizer/globals.ll
+++ b/llvm/test/Instrumentation/HWAddressSanitizer/globals.ll
@@ -4,7 +4,7 @@
; CHECK29: @four = global
; CHECK: @specialcaselisted = global i16 2, no_sanitize_hwaddress
-
+; CHECK: @insection = global i16 2, section "custom"
; CHECK: @__start_hwasan_globals = external hidden constant [0 x i8]
; CHECK: @__stop_hwasan_globals = external hidden constant [0 x i8]
@@ -37,3 +37,4 @@ source_filename = "foo"
@sixteen = global [16 x i8] zeroinitializer
@huge = global [16777232 x i8] zeroinitializer
@specialcaselisted = global i16 2, no_sanitize_hwaddress
+ at insection = global i16 2, section "custom"
More information about the llvm-commits
mailing list