diff options
author | Tamas Berghammer <tberghammer@google.com> | 2015-10-27 10:43:27 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2015-10-27 10:43:27 +0000 |
commit | 9fa114705282d226ff3a3de6c8b270208c57de89 (patch) | |
tree | dab1aad2868bde324b6abba4a1a4a26f89daa79f /llvm/lib/MC/StringTableBuilder.cpp | |
parent | 458e79b814b9998368b2306b09393b74f220f62d (diff) | |
download | llvm-9fa114705282d226ff3a3de6c8b270208c57de89.zip llvm-9fa114705282d226ff3a3de6c8b270208c57de89.tar.gz llvm-9fa114705282d226ff3a3de6c8b270208c57de89.tar.bz2 |
Some minor improvements on the symtab parsing code
* Remove an unneccessary re-computaion on arch spec from the ELF file
* Use a local cache to optimize name based section lookups in symtab
parsing
* Optimize C++ method basename validation with replacing a regex with
hand written code
These modifications reduce the time required to parse the symtab from
large applications by ~25% (tested with LLDB as inferior)
Differential revision: http://reviews.llvm.org/D14088
llvm-svn: 251402
Diffstat (limited to 'llvm/lib/MC/StringTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions