1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/tools/dsymutil
Pavel Labath 627b30137f [CodeGen] Refactor AppleAccelTable
Summary:
This commit separates the abstract accelerator table data structure
from the code for writing out an on-disk representation of a specific
accelerator table format. The idea is that former (now called
AccelTable<T>) can be reused for the DWARF v5 accelerator tables
as-is, without any further customizations.

Some bits of the emission code (now living in the EmissionContext class)
can be reused for DWARF v5 as well, but the subtle differences in the
layout of various subtables mean the sharing is not always possible.
(Also, the individual emit*** functions are fairly simple so there's a
tradeoff between making a bigger general-purpose function, and two
smaller targeted functions.)

Another advantage of this setup is that more of the serialization logic
can be hidden in the .cpp file -- I have moved declarations of the
header and all the emission functions there.

Reviewers: JDevlieghere, aprantl, probinson, dblaikie

Subscribers: echristo, clayborg, vleschuk, llvm-commits

Differential Revision: https://reviews.llvm.org/D43285

llvm-svn: 325516
2018-02-19 16:12:20 +00:00
..
BinaryHolder.cpp Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
BinaryHolder.h Re-land "[dsymutil] Timestmap verification for __swift_ast" 2017-10-13 14:41:23 +00:00
CFBundle.cpp [dsymutil][NFC] Replace calls to CoreFoundation with LLVM equivalent. 2017-12-28 14:05:49 +00:00
CFBundle.h [dsymutil] Upstream getBundleInfo implementation 2017-11-30 10:25:28 +00:00
CMakeLists.txt [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
DebugMap.cpp [dsymutil, llvm-objcopy] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-11-01 21:16:06 +00:00
DebugMap.h Re-land [dsymutil] Upstream update feature 2018-02-08 10:48:54 +00:00
dsymutil.cpp [dsymutil] Use llvm::sys::path to join bundle path. 2018-02-08 16:31:42 +00:00
dsymutil.h Re-land [dsymutil] Upstream update feature 2018-02-08 10:48:54 +00:00
DwarfLinker.cpp [CodeGen] Refactor AppleAccelTable 2018-02-19 16:12:20 +00:00
LLVMBuild.txt
MachODebugMapParser.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
MachOUtils.cpp [dsymutil] Make NonRelocatableStringPool a wrapper around DwarfStringPoolEntry. NFC 2018-01-24 16:16:43 +00:00
MachOUtils.h [dsymutil] Try to find lipo first besides dsymutil before looking up the PATH. 2015-10-08 22:35:53 +00:00
NonRelocatableStringpool.h [dsymutil] Make NonRelocatableStringPool a wrapper around DwarfStringPoolEntry. NFC 2018-01-24 16:16:43 +00:00