llvm-mirror/lib
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
..
Analysis [ValueTracking, BasicAA] Don't simplify instructions 2020-06-21 16:31:07 +02:00
AsmParser [LLParser] Delete temp CallInst when error occurs 2020-06-16 11:41:25 +08:00
BinaryFormat [WebAssembly] Adding 64-bit version of R_WASM_MEMORY_ADDR_* relocs 2020-06-15 10:07:42 -07:00
Bitcode [strictfp] Replace dangling strictfp attrs with nobuiltin 2020-06-15 10:05:35 -04:00
Bitstream
CodeGen [CGP] Enable CodeGenPrepares phi type convertion. 2020-06-21 16:46:16 +01:00
DebugInfo [DebugInfo] Explicitly permit addr_size = 0x02 when parsing DWARF data 2020-06-22 13:11:55 +03:00
Demangle
DWARFLinker
ExecutionEngine [JITLink] Display host -> target address mapping in debugging output. 2020-06-19 10:05:02 -07:00
Extensions
Frontend
Fuzzer
FuzzMutate
IR try to fix build bot after b7338fb1a6a464472850211165391983d2c8fdf3 2020-06-19 12:02:09 +02:00
IRReader
LineEditor
Linker
LTO Error related to ThinLTO caching needs to be downgraded to a remark 2020-06-19 16:03:29 -07:00
MC [MC] Pass the symbol rather than its name to onSymbolStart() 2020-06-19 09:30:12 +05:30
MCA
Object [WebAssembly] Adding 64-bit version of R_WASM_MEMORY_ADDR_* relocs 2020-06-15 10:07:42 -07:00
ObjectYAML [DWARFYAML][debug_info] Fix array index out of bounds error 2020-06-20 15:08:24 +08:00
Option
Passes [StackSafety] Add "Must Live" logic 2020-06-18 16:53:37 -07:00
ProfileData [llvm-cov gcov] Support clang<11 fake 4.2 format 2020-06-17 10:17:15 -07:00
Remarks
Support As part of using inclusive language within the llvm project, 2020-06-20 00:24:57 -07:00
TableGen Fix ubsan error in tblgen with signed left shift 2020-06-16 11:15:09 -07:00
Target [CSInfo][MIPS] Don't describe parameters loaded by sub/super reg copy 2020-06-22 10:49:02 +02:00
Testing
TextAPI
ToolDrivers
Transforms [DSE,MSSA] Remove unused arguments for isDSEBarrier (NFC). 2020-06-22 10:58:53 +01:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt