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 8
8
9
9
# RUN: llvm-dwarfdump --show-form --verbose --debug-addr %t.bolt > %t.txt
10
10
# RUN: llvm-dwarfdump --show-form --verbose --debug-info %t.bolt >> %t.txt
11
+ # RUN: cat %t.txt | FileCheck --check-prefix=POSTCHECK %s
11
12
12
13
# This test checks that we correctly handle DW_AT_low_pc [DW_FORM_addrx] that is part of DW_TAG_label.
13
14
35
36
# POSTCHECK-NEXT: DW_AT_name
36
37
# POSTCHECK-NEXT: DW_AT_decl_file
37
38
# POSTCHECK-NEXT: DW_AT_decl_line
38
- # POSTCHECK-NEXT:
39
39
# POSTCHECK-NEXT:DW_AT_low_pc [DW_FORM_addrx] (indexed (00000002)
40
- # POSTCHECK-SAME: [ 0x[[#ADDR]]
40
+ # POSTCHECK-SAME: 0x[[#ADDR]]
41
41
# POSTCHECK: DW_TAG_label
42
42
# POSTCHECK-NEXT: DW_AT_name
43
43
# POSTCHECK-NEXT: DW_AT_decl_file
44
44
# POSTCHECK-NEXT: DW_AT_decl_line
45
- # POSTCHECK-NEXT:
46
45
# POSTCHECK-NEXT:DW_AT_low_pc [DW_FORM_addrx] (indexed (00000003)
47
- # POSTCHECK-SAME: [ 0x[[#ADDR2]]
46
+ # POSTCHECK-SAME: 0x[[#ADDR2]]
48
47
49
48
# clang++ main.cpp -g -S
50
49
# int main() {
You can’t perform that action at this time.
0 commit comments