llvm-project/llvm/test/Transforms/Util
Reid Kleckner 8a1cd91016 [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
2017-09-13 01:43:25 +00:00
..
PredicateInfo [ADT] Enable reverse iteration for DenseMap 2017-08-24 23:02:48 +00:00
clone-dicompileunit.ll Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
combine-alias-scope-metadata.ll
flattencfg.ll
libcalls-fast-math-inf-loop.ll [SimplifyLibCalls] Fix infinite loop with fast-math optimization. 2017-04-25 12:36:14 +00:00
libcalls-opt-remarks.ll Keep Optimization Remark Yaml in NewPM 2017-08-20 01:30:45 +00:00
libcalls-shrinkwrap-double.ll
libcalls-shrinkwrap-float.ll
libcalls-shrinkwrap-long-double.ll
lowerswitch.ll
simplify-dbg-declare-load.ll [InstCombine] Add a flag to disable LowerDbgDeclare 2017-09-13 01:43:25 +00:00
split-bit-piece.ll Parse and print DIExpressions inline to ease IR and MIR testing 2017-08-23 20:31:27 +00:00
store-first-op.ll [Verifier] Add verification for TBAA metadata 2016-12-11 20:07:15 +00:00
strip-gc-relocates.ll
strip-nonlinetable-debuginfo-containingtypes.ll Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
strip-nonlinetable-debuginfo-cus.ll Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
strip-nonlinetable-debuginfo-localvars.ll Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
strip-nonlinetable-debuginfo-loops.ll Remove the obsolete offset parameter from @llvm.dbg.value 2017-07-28 20:21:02 +00:00
strip-nonlinetable-debuginfo-subroutinetypes.ll Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00