File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
llvm/test/tools/llvm-dwarfdump/X86 Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
- # RUN: yaml2obj %s | not llvm-dwarfdump --no-aggregate-errors -- verify - | FileCheck %s --implicit-check-not=error:
1
+ # RUN: yaml2obj %s | not llvm-dwarfdump --verify - | FileCheck %s --implicit-check-not=error:
2
2
3
3
# CHECK: error: DIE has DW_AT_decl_file with invalid encoding{{[[:space:]]}}
4
4
# CHECK-NEXT: 0x0000001a: DW_TAG_subprogram
50
50
# CHECK-NEXT: DW_AT_decl_line [DW_FORM_sdata] (3)
51
51
# CHECK-NEXT: DW_AT_call_file [DW_FORM_sdata] (4)
52
52
# CHECK-NEXT: DW_AT_call_line [DW_FORM_sdata] (5){{[[:space:]]}}
53
-
53
+ # CHECK-NEXT: Verifying dwo Units...
54
+ # CHECK-NEXT: error: Aggregated error category counts:
55
+ # CHECK-NEXT: error: Error category 'Invalid encoding in DW_AT_decl_file' occurred 4 time(s).
56
+ # CHECK-NEXT: error: Error category 'Invalid file index in DW_AT_call_line' occurred 1 time(s).
57
+ # CHECK-NEXT: error: Error category 'Invalid file index in DW_AT_decl_line' occurred 1 time(s).
54
58
--- !ELF
55
59
FileHeader :
56
60
Class : ELFCLASS64
Original file line number Diff line number Diff line change 1
1
# RUN: llvm-mc %s -filetype obj -triple x86_64-linux-gnu -o - \
2
- # RUN: | not llvm-dwarfdump --no-aggregate-errors - v -verify - 2>&1 \
2
+ # RUN: | not llvm-dwarfdump -v -verify - 2>&1 \
3
3
# RUN: | FileCheck %s --implicit-check-not=error --implicit-check-not=warning
4
4
5
5
# CHECK: Verifying dwo Units...
8
8
# CHECK: error: Unsupported DW_AT_location encoding: DW_FORM_data1
9
9
# FIXME: This should read "type unit" or just "unit" to be correct for this case/in general
10
10
# CHECK: error: DIE has DW_AT_decl_file that references a file with index 1 and the compile unit has no line table
11
+ # CHECK: error: Aggregated error category counts:
12
+ # CHECK: error: Error category 'Compilation unit root DIE is not a unit DIE' occurred 1 time(s).
13
+ # CHECK: error: Error category 'File index in DW_AT_decl_file reference CU with no line table' occurred 1 time(s).
14
+ # CHECK: error: Error category 'Invalid DW_AT_location' occurred 1 time(s).
15
+ # CHECK: error: Error category 'Mismatched unit type' occurred 1 time(s).
11
16
# CHECK: Errors detected
12
17
.section .debug_info.dwo,"e" ,@progbits
13
18
.long .Ldebug_info_dwo_end1-.Ldebug_info_dwo_start1 # Length of Unit
You can’t perform that action at this time.
0 commit comments