Skip to content

Commit 360fc7b

Browse files
authored
[BOLT] Improve unmarked-data.test (#160263)
The test checked for no BOLT-WARNINGs without specifying the expected warning. This caused the test to fail on warnings unrelated to the test. Added the BOLT-WARNING that was present before 8579db9.
1 parent 2d6a671 commit 360fc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/AArch64/unmarked-data.test

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

33
// RUN: yaml2obj %S/Inputs/unmarked-data.yaml -o %t.exe
44
// RUN: llvm-bolt %t.exe -o %t.bolt --lite=0 --use-old-text=0 2>&1 | FileCheck %s
5-
// CHECK-NOT: BOLT-WARNING
5+
// CHECK-NOT: BOLT-WARNING: unable to disassemble instruction at offset
66
// RUN: llvm-objdump -j .text -d --disassemble-symbols=first,second %t.bolt | FileCheck %s -check-prefix=CHECK-SYMBOL
77
// CHECK-SYMBOL: <first>:
88
// CHECK-SYMBOL: <second>:

0 commit comments

Comments
 (0)