Skip to content

Commit 70af40b

Browse files
committed
[hwasan] Fix forward '[hwasan] Flush stderr/stdout in tests (#114083)'
3754fc1 broke the build because subsequent checks depend on the line numbers https://lab.llvm.org/buildbot/#/builders/174/builds/7534/steps/6/logs/FAIL__HWAddressSanitizer-x86_64__use-after-free_c
1 parent ccd73ee commit 70af40b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/test/hwasan/TestCases/use-after-free.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ int main() {
3232
//
3333
// CHECK: freed by thread {{.*}} here:
3434
// CHECK: #0 {{.*}} in {{.*}}free{{.*}} {{.*}}hwasan_allocation_functions.cpp
35-
// CHECK: #1 {{.*}} in main {{.*}}use-after-free.c:[[@LINE-19]]
35+
// CHECK: #1 {{.*}} in main {{.*}}use-after-free.c:[[@LINE-20]]
3636

3737
// CHECK: previously allocated by thread {{.*}} here:
3838
// CHECK: #0 {{.*}} in {{.*}}malloc{{.*}} {{.*}}hwasan_allocation_functions.cpp
39-
// CHECK: #1 {{.*}} in main {{.*}}use-after-free.c:[[@LINE-24]]
39+
// CHECK: #1 {{.*}} in main {{.*}}use-after-free.c:[[@LINE-25]]
4040
// CHECK: Memory tags around the buggy address (one tag corresponds to 16 bytes):
4141
// CHECK: =>{{.*}}[[MEM_TAG]]
4242
// CHECK: SUMMARY: HWAddressSanitizer: tag-mismatch {{.*}} in main

0 commit comments

Comments
 (0)