[PATCH] D119733: [BOLT] Fix aarch64 dwarf test

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 09:13:28 PST 2022


yota9 created this revision.
yota9 added reviewers: maksfb, rafauler, Amir.
Herald added subscribers: ayermolo, kristof.beyls.
yota9 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

After "Remove caching of ranges/abbrevs" patch the dwarf offsets are a
bit changed and the subprograms high pc is replaced with AT_RANGES.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119733

Files:
  bolt/test/AArch64/go_dwarf.test


Index: bolt/test/AArch64/go_dwarf.test
===================================================================
--- bolt/test/AArch64/go_dwarf.test
+++ bolt/test/AArch64/go_dwarf.test
@@ -24,7 +24,7 @@
 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_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))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119733.408448.patch
Type: text/x-patch
Size: 1069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220214/051b8c7b/attachment.bin>


More information about the llvm-commits mailing list