summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2019-11-18 12:03:58 -0800
committerTeresa Johnson <tejohnson@google.com>2019-11-18 12:55:53 -0800
commitcc1b0bc24d2703087d80e4f4dc0560879733299a (patch)
treea6404d66385bedb815df52cfe63018bb17ffda6a /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
parentee31adb7fa42f5b601d9612f23755b4604f83cac (diff)
downloadbcm5719-llvm-cc1b0bc24d2703087d80e4f4dc0560879733299a.tar.gz
bcm5719-llvm-cc1b0bc24d2703087d80e4f4dc0560879733299a.zip
[ThinLTO] Avoid extra index lookup during promotion
Summary: Pass down the already accessed ValueInfo to shouldPromoteLocalToGlobal, to avoid an unnecessary extra index lookup. Add some assertion checking to confirm we have a non-empty VI when expected. Also some misc cleanup, merging the two versions of doImportAsDefinition, since one was only called by the other, and unnecessarily passed in a member variable. Reviewers: steven_wu, pcc, evgeny777 Reviewed By: evgeny777 Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, arphaman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70337
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud