File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 88
99# RUN: llvm-dwarfdump --show-form --verbose --debug-addr %t.bolt > %t.txt
1010# RUN: llvm-dwarfdump --show-form --verbose --debug-info %t.bolt >> %t.txt
11+ # RUN: cat %t.txt | FileCheck --check-prefix=POSTCHECK %s
1112
1213# This test checks that we correctly handle DW_AT_low_pc [DW_FORM_addrx] that is part of DW_TAG_label.
1314
3536# POSTCHECK-NEXT: DW_AT_name
3637# POSTCHECK-NEXT: DW_AT_decl_file
3738# POSTCHECK-NEXT: DW_AT_decl_line
38- # POSTCHECK-NEXT:
3939# POSTCHECK-NEXT:DW_AT_low_pc [DW_FORM_addrx] (indexed (00000002)
40- # POSTCHECK-SAME: [ 0x[[#ADDR]]
40+ # POSTCHECK-SAME: 0x[[#ADDR]]
4141# POSTCHECK: DW_TAG_label
4242# POSTCHECK-NEXT: DW_AT_name
4343# POSTCHECK-NEXT: DW_AT_decl_file
4444# POSTCHECK-NEXT: DW_AT_decl_line
45- # POSTCHECK-NEXT:
4645# POSTCHECK-NEXT:DW_AT_low_pc [DW_FORM_addrx] (indexed (00000003)
47- # POSTCHECK-SAME: [ 0x[[#ADDR2]]
46+ # POSTCHECK-SAME: 0x[[#ADDR2]]
4847
4948# clang++ main.cpp -g -S
5049# int main() {
You can’t perform that action at this time.
0 commit comments