1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/lib/Object
Nick Kledzik f66cb18d0c Object/llvm-objdump: allow dumping of mach-o exports trie
MachOObjectFile in lib/Object currently has no support for parsing the rebase, 
binding, and export information from the LC_DYLD_INFO load command in final 
linked mach-o images. This patch adds support for parsing the exports trie data
structure. It also adds an option to llvm-objdump to dump that export info.

I did the exports parsing first because it is the hardest. The information is 
encoded in a trie structure, but the standard ObjectFile way to inspect content 
is through iterators. So I needed to make an iterator that would do a 
non-recursive walk through the trie and maintain the concatenation of edges 
needed for the current string prefix.

I plan to add similar support in MachOObjectFile and llvm-objdump to 
parse/display the rebasing and binding info too.

llvm-svn: 216808
2014-08-30 00:20:14 +00:00
..
Archive.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
Binary.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
CMakeLists.txt Add support for inline asm symbols to IRObjectFile. 2014-07-03 18:59:23 +00:00
COFFObjectFile.cpp Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 05:25:25 +00:00
COFFYAML.cpp obj2yaml: Don't crash if the characteristics field is zero 2014-04-09 16:38:15 +00:00
ELF.cpp AArch64: add support for dynamic-loader relocations 2014-08-11 10:10:27 +00:00
ELFObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ELFYAML.cpp Add forgotten break statement. 2014-07-13 16:18:56 +00:00
Error.cpp Added forgotten noexcept. 2014-08-18 07:48:18 +00:00
IRObjectFile.cpp Pass a std::unique_ptr<MemoryBuffer>& to getLazyBitcodeModule. 2014-08-26 22:00:09 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
MachOObjectFile.cpp Object/llvm-objdump: allow dumping of mach-o exports trie 2014-08-30 00:20:14 +00:00
MachOUniversal.cpp Fix a pair of use after free. Should bring the bots back. 2014-08-19 18:59:14 +00:00
Makefile
Object.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
RecordStreamer.cpp Make RecordStreamer.h private. 2014-07-04 22:44:18 +00:00
RecordStreamer.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
SymbolicFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00