summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-11-03 23:40:03 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-11-03 23:40:03 +0000
commit94d778697a0654870aa5808b425ffa8ed88ada93 (patch)
tree4ee879d556450ca8d5fc31f131b96c1f30921a92 /lldb/packages/Python/lldbsuite
parent26014690aab5fcae955bc27cfda990eae7d34385 (diff)
downloadbcm5719-llvm-94d778697a0654870aa5808b425ffa8ed88ada93.tar.gz
bcm5719-llvm-94d778697a0654870aa5808b425ffa8ed88ada93.zip
CodeGen, Target: Move Mach-O-specific symbol name logic to Mach-O lowering.
A profile of an LTO link of Chrome revealed that we were spending some ~30-50% of execution time in the function Constant::getRelocationInfo(), which is called from TargetLoweringObjectFile::getKindForGlobal() and in turn from TargetMachine::getNameWithPrefix(). It turns out that we only need the result of getKindForGlobal() when targeting Mach-O, so this change moves the relevant part of the logic to TargetLoweringObjectFileMachO. NFCI. Differential Revision: http://reviews.llvm.org/D14168 llvm-svn: 252014
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud