1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/lib/Object
Rafael Espindola adb8197635 Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser.
For Mach-O there were 2 implementations for parsing object files. A
standalone llvm/Object/MachOObject.h and llvm/Object/MachO.h which
implements the generic interface in llvm/Object/ObjectFile.h.

This patch adds the missing features to MachO.h, moves macho-dump to
use MachO.h and removes ObjectFile.h.

In addition to making sure that check-all is clean, I checked that the
new version produces exactly the same output in all Mach-O files in a
llvm+clang build directory (including executables and shared
libraries).

To test the performance, I ran macho-dump over all the files in a
llvm+clang build directory again, but this time redirecting the output
to /dev/null. Both the old and new versions take about 4.6 seconds
(2.5 user) to finish.

llvm-svn: 180624
2013-04-26 20:07:33 +00:00
..
Archive.cpp [Object][Archive] Improve performance. 2013-02-03 10:48:50 +00:00
Binary.cpp
CMakeLists.txt Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. 2013-04-26 20:07:33 +00:00
COFFObjectFile.cpp Clarify getRelocationAddress x getRelocationOffset a bit. 2013-04-25 12:28:45 +00:00
ELFObjectFile.cpp [Support] Add LLVM_IS_UNALIGNED_ACCESS_FAST. 2013-02-03 10:48:31 +00:00
Error.cpp
LLVMBuild.txt
MachOObjectFile.cpp Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. 2013-04-26 20:07:33 +00:00
Makefile
Object.cpp Move C++ code out of the C headers and into either C++ headers 2013-04-22 22:47:22 +00:00
ObjectFile.cpp Remove unused argument. 2013-04-07 16:40:00 +00:00