Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
authorVladislav Khmelevsky <och95@yandex.ru>2022-02-15 13:23:31 +0300
committerVladislav Khmelevsky <och95@yandex.ru>2022-02-15 13:59:38 +0300
commiteccdf2d9b1286a976943489acb1642f5d7b35334 (patch)
tree9cc36ea96c66829608c713c8264f79e18839aa88 /bolt
parente6f691615e481d74cad8c6369bc0116192630ea1 (diff)
[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
Diffstat (limited to 'bolt')
-rw-r--r--bolt/test/AArch64/go_dwarf.test9
1 files changed, 5 insertions, 4 deletions
diff --git a/bolt/test/AArch64/go_dwarf.test b/bolt/test/AArch64/go_dwarf.test
index 778856801c6b..0c2cb88b22b3 100644
--- a/bolt/test/AArch64/go_dwarf.test
+++ b/bolt/test/AArch64/go_dwarf.test
@@ -24,7 +24,7 @@ CHECKORIG-NEXT: DW_AT_name ("main")
CHECKORIG-NEXT: DW_AT_decl_file
CHECKORIG-NEXT: DW_AT_decl_line (1)
CHECKORIG-NEXT: DW_AT_decl_column (0x05)
-CHECKORIG-NEXT: DW_AT_type (0x00000090 "int")
+CHECKORIG-NEXT: DW_AT_type
CHECKORIG-NEXT: DW_AT_low_pc (0x0000000000000660)
CHECKORIG-NEXT: DW_AT_high_pc (0x0000000000000684)
@@ -48,6 +48,7 @@ CHECK-NEXT: DW_AT_name ("main")
CHECK-NEXT: DW_AT_decl_file
CHECK-NEXT: DW_AT_decl_line (1)
CHECK-NEXT: DW_AT_decl_column (0x05)
-CHECK-NEXT: DW_AT_type (0x00000090 "int")
-CHECK-NEXT: DW_AT_low_pc (0x0000000000000660)
-CHECK-NEXT: DW_AT_high_pc (0x0000000000000684)
+CHECK-NEXT: DW_AT_type
+CHECK-NEXT: DW_AT_low_pc (0x0000000000000000)
+CHECK-NEXT: DW_AT_ranges (0x00000030
+CHECK-NEXT: [0x0000000000000660, 0x0000000000000684))