Skip to content

Commit eccdf2d

Browse files
committed
[BOLT] Fix aarch64 dwarf test
After "Remove caching of ranges/abbrevs" patch the dwarf offsets are a bit changed and the subprograms high pc is replaced with AT_RANGES. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D119733
1 parent e6f6916 commit eccdf2d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

bolt/test/AArch64/go_dwarf.test

+5-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CHECKORIG-NEXT: DW_AT_name ("main")
2424
CHECKORIG-NEXT: DW_AT_decl_file
2525
CHECKORIG-NEXT: DW_AT_decl_line (1)
2626
CHECKORIG-NEXT: DW_AT_decl_column (0x05)
27-
CHECKORIG-NEXT: DW_AT_type (0x00000090 "int")
27+
CHECKORIG-NEXT: DW_AT_type
2828
CHECKORIG-NEXT: DW_AT_low_pc (0x0000000000000660)
2929
CHECKORIG-NEXT: DW_AT_high_pc (0x0000000000000684)
3030

@@ -48,6 +48,7 @@ CHECK-NEXT: DW_AT_name ("main")
4848
CHECK-NEXT: DW_AT_decl_file
4949
CHECK-NEXT: DW_AT_decl_line (1)
5050
CHECK-NEXT: DW_AT_decl_column (0x05)
51-
CHECK-NEXT: DW_AT_type (0x00000090 "int")
52-
CHECK-NEXT: DW_AT_low_pc (0x0000000000000660)
53-
CHECK-NEXT: DW_AT_high_pc (0x0000000000000684)
51+
CHECK-NEXT: DW_AT_type
52+
CHECK-NEXT: DW_AT_low_pc (0x0000000000000000)
53+
CHECK-NEXT: DW_AT_ranges (0x00000030
54+
CHECK-NEXT: [0x0000000000000660, 0x0000000000000684))

0 commit comments

Comments
 (0)