summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-05-16 20:30:03 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-05-16 20:30:03 +0000
commit7ffd0b44091ecfdbab65051e07636362939ec541 (patch)
tree1e1ad8c5da81d73411a1b0934aab8415e1bcfe1d /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py
parent58b794ae505b254a35a84456a3ef072bcbad0eb5 (diff)
downloadbcm5719-llvm-7ffd0b44091ecfdbab65051e07636362939ec541.tar.gz
bcm5719-llvm-7ffd0b44091ecfdbab65051e07636362939ec541.zip
[Lex] inferModuleFromLocation should do no work if there are no modules
getModuleContainingLocation ends up on the hot-path for typical C code which can lead to calls to getFileIDSlow. To speed this up, short circuit inferModuleFromLocation when there aren't any modules, implicit or otherwise. This shaves 4-5% build time when building the linux kernel. llvm-svn: 269687
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud