llvm-6502/tools
Rafael Espindola 2173e1839c 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180624 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-26 20:07:33 +00:00
..
bugpoint Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
bugpoint-passes [CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF. 2013-01-22 01:44:00 +00:00
gold
llc Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
lli Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-ar
llvm-as Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-bcanalyzer Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. 2013-02-12 21:21:59 +00:00
llvm-config
llvm-cov
llvm-diff Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-dis Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-dwarfdump Add support for the pubnames section to llvm-dwarfdump. 2013-02-12 16:20:28 +00:00
llvm-extract Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-jitlistener Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-link Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-15 12:06:32 +00:00
llvm-mc Try to get rid of a -wunitialized warning: explicitly initialize the pointer 2013-02-26 23:04:17 +00:00
llvm-mcmarkup
llvm-nm [Object][Archive] Improve performance. 2013-02-03 10:48:50 +00:00
llvm-objdump Clarify getRelocationAddress x getRelocationOffset a bit. 2013-04-25 12:28:45 +00:00
llvm-prof
llvm-ranlib Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-readobj Clarify getRelocationAddress x getRelocationOffset a bit. 2013-04-25 12:28:45 +00:00
llvm-rtdyld Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. 2013-04-26 20:07:33 +00:00
llvm-shlib
llvm-size
llvm-stress Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-symbolizer At Jim Grosbach's request detemplate Object/MachO.h. 2013-04-18 18:08:55 +00:00
lto Don't produce an empty llvm.compiler.used in LTO. 2013-04-24 17:54:35 +00:00
macho-dump Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. 2013-04-26 20:07:33 +00:00
obj2yaml Remove dead code. 2013-04-20 11:06:34 +00:00
opt Revert "Recommit r179497 after fixing uninitialized variable." until 2013-04-15 07:31:37 +00:00
yaml2obj Don't compute a std::vector<uint8_t> just to write it out a stream. 2013-04-25 03:07:42 +00:00
CMakeLists.txt Move yaml2obj to tools too. 2013-04-05 20:00:35 +00:00
LLVMBuild.txt
Makefile Move yaml2obj to tools too. 2013-04-05 20:00:35 +00:00