1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-objdump
Saleem Abdulrasool 146e18fe42 llvm-objdump: speed up -objc-meta-data
Running a Debug build of objdump -objc-meta-data with a large Mach-O file is
currently unnecessarily slow.

With some local test input, this change reduces the run time from 75-85s down
to 15-20s.

The two changes are:
  Assert on pointer equality not array equality
  Replace vector<pair<address, symbol>> with DenseMap<address, symbol>

Additionally, use a std::unique_ptr rather than handling the memory manually.

Patch by Dave Lee!

llvm-svn: 291398
2017-01-08 19:14:15 +00:00
..
CMakeLists.txt [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00
COFFDump.cpp [llvm-objdump] Switch to a range loop. NFCI. 2016-09-30 23:22:42 +00:00
ELFDump.cpp llvm-objdump: sort phdr type strings in advance of adding new ones 2016-12-24 14:53:45 +00:00
llvm-objdump.cpp [bpf] change llvm-objdump to print dec instead of hex 2016-12-13 19:07:08 +00:00
llvm-objdump.h [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00
LLVMBuild.txt Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
MachODump.cpp llvm-objdump: speed up -objc-meta-data 2017-01-08 19:14:15 +00:00
WasmDump.cpp [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00