Skip to content

Commit a4b68b8

Browse files
[compiler-rt][HWAsan] Partially revert to fix test
bc27843 changed the offset that we use so that the valid runs do not conflict with libc. I adjusted every value that could have conflicted which actually started causing one of the lines that should fail into one that did not.
1 parent a9301d8 commit a4b68b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// RUN: %clang_hwasan %s -mllvm -hwasan-mapping-offset=4398046511104 -o %t
1515
// RUN: env HWASAN_OPTIONS=fixed_shadow_base=4398046511104 %run %t
16-
// RUN: env HWASAN_OPTIONS=fixed_shadow_base=17592186044416 not %run %t
16+
// RUN: env HWASAN_OPTIONS=fixed_shadow_base=263878495698944 not %run %t
1717
//
1818
// Note: if fixed_shadow_base is not set, compiler-rt will dynamically choose a
1919
// shadow base, which has a tiny but non-zero probability of matching the

0 commit comments

Comments
 (0)