1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/unittests
Lang Hames 595027e9c3 [JITLink] Switch from an atom-based model to a "blocks and symbols" model.
In the Atom model the symbols, content and relocations of a relocatable object
file are represented as a graph of atoms, where each Atom represents a
contiguous block of content with a single name (or no name at all if the
content is anonymous), and where edges between Atoms represent relocations.
If more than one symbol is associated with a contiguous block of content then
the content is broken into multiple atoms and layout constraints (represented by
edges) are introduced to ensure that the content remains effectively contiguous.
These layout constraints must be kept in mind when examining the content
associated with a symbol (it may be spread over multiple atoms) or when applying
certain relocation types (e.g. MachO subtractors).

This patch replaces the Atom model in JITLink with a blocks-and-symbols model.
The blocks-and-symbols model represents relocatable object files as bipartite
graphs, with one set of nodes representing contiguous content (Blocks) and
another representing named or anonymous locations (Symbols) within a Block.
Relocations are represented as edges from Blocks to Symbols. This scheme
removes layout constraints (simplifying handling of MachO alt-entry symbols,
and hopefully ELF sections at some point in the future) and simplifies some
relocation logic.

llvm-svn: 373689
2019-10-04 03:55:26 +00:00
..
ADT [NFC] Add { } to silence compiler warning [-Wmissing-braces]. 2019-09-25 17:32:20 +00:00
Analysis [LOOPGUARD] Disable loop with multiple loop exiting blocks. 2019-09-26 20:20:42 +00:00
AsmParser
BinaryFormat [BinaryFormat] Teach identify_magic about Tapi files. 2019-08-21 21:00:16 +00:00
Bitcode Add AutoUpgrade function to add new address space datalayout string to existing datalayouts. 2019-09-18 22:15:58 +00:00
Bitstream
CodeGen [FileCheck] Remove implementation types from API 2019-09-30 14:12:03 +00:00
DebugInfo Fix buildbots. 2019-09-17 20:31:01 +00:00
Demangle
ExecutionEngine [JITLink] Switch from an atom-based model to a "blocks and symbols" model. 2019-10-04 03:55:26 +00:00
FuzzMutate [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
IR [ConstantRange] add helper function addWithNoWrap(). 2019-09-30 12:57:53 +00:00
LineEditor
Linker [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
MC [MC] Fix undefined behavior in MCInstPrinter::formatHex 2019-09-06 01:13:32 +00:00
MI [NewPM] Port MachineModuleInfo to the new pass manager. 2019-09-30 17:54:50 +00:00
Object
ObjectYAML [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
Option
Passes
ProfileData [SampleFDO] Add profile symbol list section to discriminate function being 2019-08-31 02:27:26 +00:00
Remarks [Remarks] Allow remarks::Format::YAML to take a string table 2019-09-16 22:45:17 +00:00
Support Revert "[Alignment][NFC] Allow constexpr Align" 2019-10-03 15:53:50 +00:00
TableGen [gicombiner] Add a CodeExpander to handle C++ fragments with variable expansion 2019-10-03 19:13:39 +00:00
Target [AArch64] Static (de)allocation of SVE stack objects. 2019-10-03 11:33:50 +00:00
TextAPI [TextAPI] Add New Supported Platforms 2019-09-23 15:28:02 +00:00
tools [llvm-exegesis][NFC] Refactor X86 tests fixtures into a base class. 2019-10-01 09:20:36 +00:00
Transforms [Local] Handle terminators with users in removeUnreachableBlocks. 2019-10-02 19:38:24 +00:00
XRay [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
CMakeLists.txt [gicombiner] Add a CodeExpander to handle C++ fragments with variable expansion 2019-10-03 19:13:39 +00:00
unittest.cfg.in