llvm-project/llvm/test/DebugInfo/Inputs
Anatoly Trosinenko 359fae6eb0 [DebugInfo] Explicitly permit addr_size = 0x02 when parsing DWARF data
Current LLVM implementation uses `MCAsmInfo::CodePointerSize` as addr_size when emitting the DWARF data. llvm-dwarfdump, on the other hand, handles `addr_size`s of 4 and 8 properly and considers all other sizes as an error. This works for most of mainline targets except for MSP430 and AVR.

msp430-gcc v8.3.1 emits DWARF32 with addr_size = 4 (DWARF32 does not imply addr_size = 4, 32 refers to internal offset width of 4 bytes) that is handled by llvm-dwarfdump already. Still, emitting 2-byte target pointers on MSP430 seems correct as well (but not for MSP430X that is supported by msp430-gcc but not by LLVM and has 20-bit address space).

This patch make it possible for MSP430 debug info support to be tested with llvm-dwarfdump.

Differential Revision: https://reviews.llvm.org/D82055
2020-06-22 13:11:55 +03:00
..
.build-id/ab [llvm-symbolizer] Support debug file lookup using build ID 2019-12-04 15:07:56 -08:00
arange-overlap.cc
arange-overlap.elf-x86_64
arm-relocs.elf-arm
cross-cu-inlining.c
cross-cu-inlining.x86_64-macho.o
dwarfdump-16bit-addr.o [DebugInfo] Explicitly permit addr_size = 0x02 when parsing DWARF data 2020-06-22 13:11:55 +03:00
dwarfdump-decompression-corrupt.elf-x86-64
dwarfdump-decompression-error.elf-x86-64
dwarfdump-dwp.x86_64.o
dwarfdump-gdbindex-v7.elf-x86-64
dwarfdump-inl-test.cc
dwarfdump-inl-test.elf-x86-64
dwarfdump-inl-test.h
dwarfdump-inl-test.high_pc.elf-x86-64
dwarfdump-macho-relocs.macho.x86_64.o
dwarfdump-macro-cmd.h
dwarfdump-macro.cc
dwarfdump-macro.dwo [DebugInfo] Support for debug_macinfo.dwo section in llvm and llvm-dwarfdump. 2019-12-03 08:54:12 +05:30
dwarfdump-macro.h
dwarfdump-macro.o
dwarfdump-objc.m
dwarfdump-objc.x86_64.o
dwarfdump-pubnames.cc
dwarfdump-pubnames.elf-x86-64
dwarfdump-ranges-baseaddr-exe.elf-x86-64
dwarfdump-test-32bit.elf.c
dwarfdump-test-32bit.elf.o
dwarfdump-test-loc-list-32bit.elf.cpp
dwarfdump-test-loc-list-32bit.elf.o
dwarfdump-test-zlib.cc [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
dwarfdump-test-zlib.elf-x86-64
dwarfdump-test-zlib.o.elf-x86-64
dwarfdump-test-zlibgnu.elf-x86-64
dwarfdump-test.cc
dwarfdump-test.elf-x86-64 Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
dwarfdump-test.elf-x86-64.debuglink Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
dwarfdump-test.macho-i386.o
dwarfdump-test2-helper.cc
dwarfdump-test2-main.cc
dwarfdump-test2.elf-x86-64
dwarfdump-test3-decl.h [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3) 2019-01-31 14:22:50 +00:00
dwarfdump-test3-decl2.h [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3) 2019-01-31 14:22:50 +00:00
dwarfdump-test3.cc [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3) 2019-01-31 14:22:50 +00:00
dwarfdump-test3.elf-x86-64-space
dwarfdump-test4-decl.h
dwarfdump-test4-part1.cc
dwarfdump-test4-part2.cc
dwarfdump-test4.elf-x86-64
dwarfdump-type-units.cc
dwarfdump-type-units.elf-x86-64
fat-test.o
fission-hash-local2.ll DebugInfo: Split DWARF: Hash non-member function child DIEs 2020-01-31 15:32:03 -08:00
gmlt.ll Remove lit feature object-emission 2020-02-10 15:57:56 -06:00
implicit-const-test.o
invalid.elf
invalid.elf.2
invalid.elf.3
line.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
llvm-symbolizer-dwo-test.cc
llvm-symbolizer-local-mem-func-gcc.elf-x86-64
llvm-symbolizer-test.c [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#2) 2019-01-31 14:17:33 +00:00
llvm-symbolizer-test.elf-x86-64 Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
llvm-symbolizer-tu.elf-x86-64 llvm-symbolizer: Fix bug related to TUs interfering with symbolizing 2018-09-11 02:04:45 +00:00
loclists-dwp-b.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
macho-universal
macho-universal.cc
precomp-a.obj
precomp.obj
shared-object-stripped.elf-i386
split-dwarf-empty.dwo
split-dwarf-empty.o
split-dwarf-no-skel-address.dwo
split-dwarf-no-skel-address.o
symbolize-64bit-addr.c [DebugInfo][llvm-symbolizer]Add some tests for edge cases when symbolizing 2019-02-06 10:13:14 +00:00
symbolize-64bit-addr.elf.x86_64 [DebugInfo][llvm-symbolizer]Add some tests for edge cases when symbolizing 2019-02-06 10:13:14 +00:00
test-inline.o Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
test-multiple-macho.o
test-parameters.o Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
test-simple-macho.o
typeunit-header.elf-x86-64
typeunit-header.s