summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-01-28 15:08:09 +0000
committerTeresa Johnson <tejohnson@google.com>2016-01-28 15:08:09 +0000
commitbeb43ba7e5b5524ad0296a4d1f1271e0212ddd33 (patch)
treef51173fca2837c2f6ffaaa2128dbf4ae2553e97e /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
parentea59b9d91f072bf7f6fccf2c1c566c9e0f060369 (diff)
downloadbcm5719-llvm-beb43ba7e5b5524ad0296a4d1f1271e0212ddd33.tar.gz
bcm5719-llvm-beb43ba7e5b5524ad0296a4d1f1271e0212ddd33.zip
Improve efficiency of handling unmapped subprogram metadata
The stripNullSubprograms function is very inefficient because it walks all subprograms in all compile units in the dest module any time a new module is linked in. For LTO in particular this will get increasingly expensive as more modules are linked. This patch improves the efficiency in several ways. The first is that no scanning is necessary when there were no unneeded subprograms identified in the first place. The second is that only the newly-linked module's compile unit metadata should be examined. Fixes PR26346. llvm-svn: 259049
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud