1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib
Jonas Devlieghere 059e346af5 [dsymutil] Add preliminary support for DWARF 5.
Currently dsymutil will silently fail when processing binaries with
Dwarf 5 debug info. This patch adds rudimentary support for Dwarf 5 in
dsymutil.

 - Recognize relocations in the debug_addr section.
 - Recognize (a subset of) Dwarf 5 form values.
 - Emits valid Dwarf 5 compile unit header chains.

To simplify things (and avoid having to emit indexed sections) I decided
to emit the relocated addresses directly in the debug info section.

 - DW_FORM_strx gets relocated and rewritten to DW_FORM_strp
 - DW_FORM_addrx gets relocated and rewritten to DW_FORM_addr

Obviously there's a lot of work left, but this should be a step in the
right direction.

rdar://62345491

Differential revision: https://reviews.llvm.org/D94323
2021-01-12 21:55:41 -08:00
..
Analysis [llvm] Use Optional::getValueOr (NFC) 2021-01-12 21:43:50 -08:00
AsmParser [X86] Add x86_amx type for intel AMX. 2020-12-30 13:52:13 +08:00
BinaryFormat [XCOFF][AIX] Emit EH information in traceback table 2020-12-16 09:34:59 -05:00
Bitcode [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
Bitstream [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
CodeGen [CodeGen] Remove unused function isRegLiveInExitBlocks (NFC) 2021-01-12 21:43:48 -08:00
DebugInfo [PDB] Defer relocating .debug$S until commit time and parallelize it 2021-01-12 17:46:29 -08:00
Demangle llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
DWARFLinker [dsymutil] Add preliminary support for DWARF 5. 2021-01-12 21:55:41 -08:00
ExecutionEngine [llvm] Remove redundant string initialization (NFC) 2021-01-12 21:43:46 -08:00
Extensions llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
FileCheck [FileCheck] Add a literal check directive modifier 2020-12-18 17:26:15 -08:00
Frontend [OpenMPOpt][WIP] Expand parallel region merging 2021-01-11 08:06:23 -08:00
Fuzzer
FuzzMutate llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InterfaceStub [llvm-elfabi] Add flag to preserve timestamp when output is the same 2020-12-29 20:27:06 -08:00
IR [llvm] Use llvm::find_if (NFC) 2021-01-11 18:48:06 -08:00
IRReader static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
LineEditor llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Linker [ExecutionEngine, Linker] Use erase_if (NFC) 2020-12-23 21:44:39 -08:00
LTO [NFC] Reduce include files dependency and AA header cleanup (part 2). 2020-12-17 14:04:48 +03:00
MC [llvm] Use llvm::find_if (NFC) 2021-01-11 18:48:06 -08:00
MCA [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
Object [llvm] Use llvm::lower_bound and llvm::upper_bound (NFC) 2021-01-05 21:15:59 -08:00
ObjectYAML [obj2yaml,yaml2obj] - Fix issues with creating/dumping group sections. 2021-01-12 14:07:42 +03:00
Option [llvm] Simplify string comparisons (NFC) 2021-01-11 18:48:09 -08:00
Passes [NewPM] Run non-trivial loop unswitching under -O2/3/s/z 2021-01-12 11:04:40 -08:00
ProfileData [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
Remarks llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Support [InitLLVM] Ensure SIGPIPE handler installed before sigaction() 2021-01-08 15:13:04 -08:00
TableGen [TableGen] Improve error message for semicolon after braced body. 2021-01-12 09:38:05 -05:00
Target [llvm] Use Optional::getValueOr (NFC) 2021-01-12 21:43:50 -08:00
Testing [llvm][NFC] Remove unnecessary vector creation in Annotations 2020-11-14 15:55:09 +00:00
TextAPI llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
ToolDrivers llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Transforms [llvm] Use Optional::getValueOr (NFC) 2021-01-12 21:43:50 -08:00
WindowsManifest llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
XRay [lib/Object, tools] - Make ELFObjectFile::getELFFile return reference. 2020-12-04 16:02:29 +03:00
CMakeLists.txt llvmbuildectomy - support disabled native target 2020-11-13 15:50:13 +01:00