1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/DebugInfo/Inputs
Anatoly Trosinenko ec3dc954d2 [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
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
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
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-test2-helper.cc
dwarfdump-test2-main.cc
dwarfdump-test2.elf-x86-64
dwarfdump-test3-decl2.h
dwarfdump-test3-decl.h
dwarfdump-test3.cc
dwarfdump-test3.elf-x86-64-space
dwarfdump-test4-decl.h
dwarfdump-test4-part1.cc
dwarfdump-test4-part2.cc
dwarfdump-test4.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
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
dwarfdump-test.elf-x86-64.debuglink
dwarfdump-test.macho-i386.o
dwarfdump-type-units.cc
dwarfdump-type-units.elf-x86-64
fat-test.o
fission-hash-local2.ll
gmlt.ll
implicit-const-test.o
invalid.elf
invalid.elf.2
invalid.elf.3
line.ll
llvm-symbolizer-dwo-test.cc
llvm-symbolizer-local-mem-func-gcc.elf-x86-64
llvm-symbolizer-test.c
llvm-symbolizer-test.elf-x86-64
llvm-symbolizer-tu.elf-x86-64
loclists-dwp-b.ll
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
symbolize-64bit-addr.elf.x86_64
test-inline.o
test-multiple-macho.o
test-parameters.o
test-simple-macho.o
typeunit-header.elf-x86-64
typeunit-header.s