1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/dsymutil
Alexey Lapshin 0d5d418268 [Dsymutil][Debuginfo][NFC] #4 Refactor dsymutil to separate DWARF optimizing part.
Summary:
The primary goal of this refactoring is to separate DWARF optimizing part.
So that it could be reused by linker or by any other client.
There was a thread on llvm-dev discussing the necessity of such a refactoring:

http://lists.llvm.org/pipermail/llvm-dev/2019-September/135068.html.

This is a final part from series of patches for dsymutil.
Previous patches : D71068, D71839, D72476. This patch:

1. Creates lib/DWARFLinker interface :

   void addObjectFile(DwarfLinkerObjFile &ObjFile);
   bool link();
   void setOptions;

1. Moves all linking logic from tools/dsymutil/DwarfLinkerForBinary
   into lib/DWARFLinker.
2. Renames RelocationManager into AddressesManager.
3. Remarks creation logic moved from separate parallel execution
   into object file loading routine.

Testing: it passes "check-all" lit testing. MD5 checksum for clang .dSYM bundle
matches for the dsymutil with/without that patch.

Reviewers: JDevlieghere, friss, dblaikie, aprantl, jdoerfert

Reviewed By: JDevlieghere

Subscribers: merge_guards_bot, hiraditya, jfb, llvm-commits, probinson, thegameg

Tags: #llvm, #debug-info

Differential Revision: https://reviews.llvm.org/D72915
2020-01-23 18:16:32 +03:00
..
BinaryHolder.cpp [dsymutil] Use rfind for paths with parentheses 2019-02-28 18:46:04 +00:00
BinaryHolder.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CFBundle.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CFBundle.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Remove AllTargetsAsmPrinters 2020-01-17 19:04:06 -05:00
DebugMap.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugMap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
dsymutil.cpp [dsymutil] Add support for linking remarks 2019-11-01 15:38:49 -07:00
dsymutil.h [dsymutil] Pass LinkOptions by value instead of const ref. 2019-07-30 19:34:26 +00:00
DwarfLinkerForBinary.cpp [Dsymutil][Debuginfo][NFC] #4 Refactor dsymutil to separate DWARF optimizing part. 2020-01-23 18:16:32 +03:00
DwarfLinkerForBinary.h [Dsymutil][Debuginfo][NFC] #4 Refactor dsymutil to separate DWARF optimizing part. 2020-01-23 18:16:32 +03:00
DwarfStreamer.cpp [Dsymutil][Debuginfo][NFC] #4 Refactor dsymutil to separate DWARF optimizing part. 2020-01-23 18:16:32 +03:00
DwarfStreamer.h [Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF optimizing part. 2020-01-13 23:33:25 +03:00
LinkUtils.h [Dsymutil][Debuginfo][NFC] #4 Refactor dsymutil to separate DWARF optimizing part. 2020-01-23 18:16:32 +03:00
LLVMBuild.txt [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF optimizing part. #2. 2020-01-08 14:15:31 +03:00
MachODebugMapParser.cpp [dsymutil] Move CommonSymbols.clear() in resetParserState. 2019-10-10 16:37:38 +00:00
MachOUtils.cpp [Dsymutil][NFC] Move NonRelocatableStringpool into common CodeGen folder. 2019-12-06 10:02:27 +03:00
MachOUtils.h [dsymutil] Remove stale comment (NFC) 2019-06-10 23:30:20 +00:00
Options.td [dsymutil] Support --out (NFC) 2019-12-03 17:08:32 -08:00
SymbolMap.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SymbolMap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00