Skip to content

Commit a5481e7

Browse files
authored
[NFCI] [HWASan] add test for custom section global (#149625)
1 parent e57315e commit a5481e7

File tree

1 file changed

+2
-1
lines changed
  • llvm/test/Instrumentation/HWAddressSanitizer

1 file changed

+2
-1
lines changed

llvm/test/Instrumentation/HWAddressSanitizer/globals.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
; CHECK29: @four = global
55

66
; CHECK: @specialcaselisted = global i16 2, no_sanitize_hwaddress
7-
7+
; CHECK: @insection = global i16 2, section "custom"
88
; CHECK: @__start_hwasan_globals = external hidden constant [0 x i8]
99
; CHECK: @__stop_hwasan_globals = external hidden constant [0 x i8]
1010

@@ -37,3 +37,4 @@ source_filename = "foo"
3737
@sixteen = global [16 x i8] zeroinitializer
3838
@huge = global [16777232 x i8] zeroinitializer
3939
@specialcaselisted = global i16 2, no_sanitize_hwaddress
40+
@insection = global i16 2, section "custom"

0 commit comments

Comments
 (0)