summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/COFFDumper.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2018-09-11 22:00:47 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2018-09-11 22:00:47 +0000
commit72b27a6a397404f7c1faff7813e26fd1f84b6183 (patch)
treee549139fdbf460f5eb60f43ee685c7db84753508 /llvm/tools/llvm-readobj/COFFDumper.cpp
parent26725bdc508f0c011e39f7ef0125e961d2ad76ed (diff)
downloadbcm5719-llvm-72b27a6a397404f7c1faff7813e26fd1f84b6183.tar.gz
bcm5719-llvm-72b27a6a397404f7c1faff7813e26fd1f84b6183.zip
[object] Improve the performance of getSymbols used by ArchiveWriter
In this diff we adjust the code of getSymbols to avoid creating LLVMContext when it's not necessary. Without this patch when the function getSymbols was called on a MachO object with a __bitcode section it was parsing the embedded bitcode and then ignoring the result. Test plan: make check-all Differential revision: https://reviews.llvm.org/D51759 llvm-svn: 341998
Diffstat (limited to 'llvm/tools/llvm-readobj/COFFDumper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud