llvm-project/llvm/test/tools/llvm-dwarfdump
Greg Clayton e1de85f9f4 Add verification for DW_AT_decl_file and DW_AT_call_file.
LTO builds have been creating invalid DWARF and one of the errors was a file index that was out of bounds. "llvm-dwarfdump --verify" will check all file indexes for line tables already, but there are no checks for the validity of file indexes in attributes.

The verification will verify if there is a DW_AT_decl_file/DW_AT_call_file that:
- there is a line table for the compile unit
- the file index is valid
- the encoding is appropriate

Tests are added that test all of the above conditions.

Differential Revision: https://reviews.llvm.org/D84817
2020-08-05 15:30:13 -07:00
..
AArch64 [llvm/dwarfdump] Use the architecture string to filter. 2019-12-09 17:17:01 -08:00
RISCV [DWARF][RISCV] Test resolving of RISC-V relocations 2019-12-10 14:02:07 +00:00
X86 Add verification for DW_AT_decl_file and DW_AT_call_file. 2020-08-05 15:30:13 -07:00
cmdline.test [llvm] Remove full stop frome error message 2020-06-24 09:41:17 -07:00
coff-arm.yaml [Object] Implement relocation resolver for COFF ARM/ARM64 2019-09-10 12:31:40 +00:00
coff-arm64.yaml [Object] Implement relocation resolver for COFF ARM/ARM64 2019-09-10 12:31:40 +00:00
coff-i386.yaml [Object] Implement relocation resolver for COFF ARM/ARM64 2019-09-10 12:31:40 +00:00
coff-x86_64.yaml [Object] Implement relocation resolver for COFF ARM/ARM64 2019-09-10 12:31:40 +00:00
debug-frame-dumps-eh-frame-and-debug-frame.yaml [test][llvm-dwarfdump] Add missing testing for some --debug-* options 2019-12-11 13:42:54 +00:00
debug-str.yaml [test][llvm-dwarfdump] Add missing testing for some --debug-* options 2019-12-11 13:42:54 +00:00
elf-broken-reloc-target.yaml llvm-dwarfdump: Return non-zero on error 2020-04-09 20:53:58 -07:00
filter.test [llvm/dwarfdump] Use the architecture string to filter. 2019-12-09 17:17:01 -08:00
uuid.yaml
uuid32.yaml