summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-09-13 01:43:25 +0000
committerReid Kleckner <rnk@google.com>2017-09-13 01:43:25 +0000
commit8a1cd9101644c22629f4c8253aa7087123f85876 (patch)
treeb29ca2605ff5a38b452657375363524260f05bce /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente62f5fa64d051e8431e3ffb9d78c074ea80ad91e (diff)
[InstCombine] Add a flag to disable LowerDbgDeclare
Summary: This should improve optimized debug info for address-taken variables at the cost of inaccurate debug info in some situations. We patched this into clang and deployed this change to Chromium developers, and this significantly improved debuggability of optimized code. The long-term solution to PR34136 seems more and more like it's going to take a while, so I would like to commit this change under a flag so that it can be used as a stop-gap measure. This flag should really help so for C++ aggregates like std::string and std::vector, which are typically address-taken, even after inlining, and cannot be SROA-ed. Reviewers: aprantl, dblaikie, probinson, dberlin Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D36596 llvm-svn: 313108
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions