summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-08-26 20:21:05 +0000
committerAdam Nemet <anemet@apple.com>2016-08-26 20:21:05 +0000
commitcef33141560c42cf81b4284cef25777bb7e2f11e (patch)
treed9f6d731a76f587934dad64d16148d730f71ec6e /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
parent7775c3310c44af877f2132130e2e018dab232177 (diff)
downloadbcm5719-llvm-cef33141560c42cf81b4284cef25777bb7e2f11e.tar.gz
bcm5719-llvm-cef33141560c42cf81b4284cef25777bb7e2f11e.zip
[Inliner] Report when inlining fails because callee's def is unavailable
Summary: This is obviously an interesting case because it may motivate code restructuring or LTO. Reporting this requires instantiation of ORE in the loop where the call sites are first gathered. I've checked compile-time overhead *with* -Rpass-with-hotness and the worst slow-down was 6% in mcf and quickly tailing off. As before without -Rpass-with-hotness there is no overhead. Because this could be a pretty noisy diagnostics, it is currently qualified as 'verbose'. As of this patch, 'verbose' diagnostics are only emitted with -Rpass-with-hotness, i.e. when the output is expected to be filtered. Reviewers: eraman, chandlerc, davidxl, hfinkel Subscribers: tejohnson, Prazek, davide, llvm-commits Differential Revision: https://reviews.llvm.org/D23415 llvm-svn: 279860
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud