llvm-6502/include/llvm/ADT
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
..
APFloat.h Use LLVM_DELETED_FUNCTION rather than '// do not implement' comments. 2013-02-18 23:11:17 +00:00
APInt.h Switching -1ULL to UINT64_MAX to fix MSVC warnings. Patch thanks to Peng Cheng! 2013-02-27 18:38:33 +00:00
APSInt.h Use pre-inc, pre-dec when possible. 2013-03-20 23:56:19 +00:00
ArrayRef.h ArrayRef reverse iterators. 2013-01-25 06:33:52 +00:00
BitVector.h Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES. 2012-11-30 11:45:22 +00:00
DAGDeltaAlgorithm.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
DeltaAlgorithm.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
DenseMap.h Remove unnecessary condtional assignment. The next line ignores the result of the assignment with the same condition. 2013-02-13 07:44:17 +00:00
DenseMapInfo.h Fix integer undefined behavior due to signed left shift overflow in LLVM. 2012-08-24 23:29:28 +00:00
DenseSet.h Make comment a bit more clear. 2013-01-04 17:59:17 +00:00
DepthFirstIterator.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
edit_distance.h Add function for computing the edit distance of two arrays. 2012-02-15 22:13:07 +00:00
EquivalenceClasses.h Fix Doxygen issues: wrap code examples in \code and use \p to refer to 2012-09-15 20:22:05 +00:00
FoldingSet.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
GraphTraits.h Change the Dominators recalculate() function to only rely on GraphTraits 2011-12-05 19:17:04 +00:00
Hashing.h Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
ilist_node.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ilist.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
ImmutableIntervalMap.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableList.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableMap.h Add missing typename to unbreak the MSVC 2012 build. 2013-02-14 03:24:14 +00:00
ImmutableSet.h Add missing typename to unbreak the MSVC 2012 build. 2013-02-14 03:24:14 +00:00
IndexedMap.h SparseSet: Add support for key-derived indexes and arbitrary key types. 2012-04-20 20:05:28 +00:00
IntEqClasses.h
IntervalMap.h Provide a common half-open interval map info implementation, and just 2012-12-27 11:29:17 +00:00
IntrusiveRefCntPtr.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
MapVector.h Remove my bogus MapVector::erase() with a narrower ::pop_back(), and add a unit test. 2013-02-19 18:26:07 +00:00
None.h Correct spelling of 'enumerator'. 2013-02-21 06:08:22 +00:00
NullablePtr.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
Optional.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
OwningPtr.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
PackedVector.h PackedVector: Make the BitVector implementation configurable. 2012-09-28 16:40:29 +00:00
PointerIntPair.h Fix PointerIntPair to be enum class compatible. 2013-04-09 00:01:51 +00:00
PointerUnion.h Eliminate redundant bitwise operations when using a llvm/ADT/PointerUnion. 2012-12-03 19:59:23 +00:00
PostOrderIterator.h Add std prefixes to fix the build with xlc. 2013-03-20 21:00:22 +00:00
PriorityQueue.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
SCCIterator.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
ScopedHashTable.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
SetOperations.h
SetVector.h Third try at fixing this. ;] Go back to using std::remove_if, which has 2012-10-03 01:04:07 +00:00
SmallBitVector.h Use NumBaseBits in a few more places in SmallBitVector instead of recalculating it. No functional change. 2013-03-15 06:01:42 +00:00
SmallPtrSet.h SmallVector and SmallPtrSet allocations now power-of-two aligned. 2013-03-29 22:07:12 +00:00
SmallSet.h Document the return value of SmallSet insert. 2013-04-04 04:54:21 +00:00
SmallString.h Another test commit. Remove trailing whitespace. 2013-02-26 19:33:48 +00:00
SmallVector.h SmallVector and SmallPtrSet allocations now power-of-two aligned. 2013-03-29 22:07:12 +00:00
SparseBitVector.h Provide malloc-free sentinels for the SparseBitVector internals. 2012-09-28 15:36:41 +00:00
SparseMultiSet.h SparseMultiSet.h: Add suggested parentheses. 2013-01-22 05:41:57 +00:00
SparseSet.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
Statistic.h Disable statistics on Release builds and move tests that depend on -stats. 2013-03-08 22:56:31 +00:00
STLExtras.h typo 2012-11-16 21:33:35 +00:00
StringExtras.h Add llvm::hexDigitValue to convert single characters to hex. 2013-01-18 21:45:30 +00:00
StringMap.h Clear the whole table including the tombstones, since the tombstone count will 2013-02-21 21:32:00 +00:00
StringRef.h Test commit. Remove trailing whitespace. 2013-02-26 19:18:06 +00:00
StringSet.h [ADT] Fix StringSet::insert() to not allocate on every lookup. 2013-03-15 20:16:59 +00:00
StringSwitch.h Fix shadowed variable warning 2012-08-01 01:43:10 +00:00
TinyPtrVector.h Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES. 2012-11-30 11:45:22 +00:00
Triple.h typo 2013-04-22 15:40:16 +00:00
Twine.h Fix typo 2013-04-18 20:49:17 +00:00
UniqueVector.h
ValueMap.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
VariadicFunction.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00