Skip to content

Commit 3ac2062

Browse files
committed
fixup! adjust low_pc in tests
We changed the debug-map to add more symbols. So adjust the tests.
1 parent f6e39be commit 3ac2062

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/test/tools/dsymutil/AArch64/dwarf5-str-offsets-base-strx.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ CHECK: DW_AT_str_offsets_base [DW_FORM_sec_offset] (0x000000
9898
CHECK: DW_AT_comp_dir [DW_FORM_strx] (indexed (00000004) string = "/Users/shubham/Development/test109275485")
9999

100100
CHECK: DW_TAG_subprogram
101-
CHECK: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000000010000)
101+
CHECK: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000000010040)
102102
CHECK: DW_AT_linkage_name [DW_FORM_strx] (indexed (00000005) string = "_Z4foo2i")
103103
CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000006) string = "foo2")
104104

llvm/test/tools/dsymutil/AArch64/inlined-low_pc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ int bar(int a) { return foo(a); }
1010
// RUN: llvm-dwarfdump - | FileCheck %s
1111

1212
// CHECK: DW_TAG_subprogram
13-
// CHECK: DW_AT_low_pc{{.*}}0x0000000000010000
13+
// CHECK: DW_AT_low_pc{{.*}}0x0000000000010040
1414
// CHECK: DW_AT_name{{.*}}"bar"
1515
// CHECK-NOT: NULL
1616
// CHECK: DW_TAG_inlined_subroutine
1717
// CHECK-NEXT: DW_AT_abstract_origin{{.*}}"foo"
18-
// CHECK-NEXT: DW_AT_low_pc{{.*}}0x0000000000010000
18+
// CHECK-NEXT: DW_AT_low_pc{{.*}}0x0000000000010040
1919

0 commit comments

Comments
 (0)