diff options
author | OCHyams <orlando.hyams@sony.com> | 2024-02-13 08:51:57 +0000 |
---|---|---|
committer | OCHyams <orlando.hyams@sony.com> | 2024-02-13 08:51:57 +0000 |
commit | d759618df76361a8e490eeae5c5399e0738cbfd0 (patch) | |
tree | b4caf6e70567b18d8d8a3c8255d014ecdfd2d9ca | |
parent | 46122082a61ef5bb2871d2d9158739133ad0e113 (diff) | |
download | llvm-d759618df76361a8e490eeae5c5399e0738cbfd0.zip llvm-d759618df76361a8e490eeae5c5399e0738cbfd0.tar.gz llvm-d759618df76361a8e490eeae5c5399e0738cbfd0.tar.bz2 |
Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default"
This reapplies commit bdde5f9 by undoing the revert bc66e0c.
The previous reapplication 5c9f768 was reverted due to a crash
(reproducer in comments for 5c9f768) which was fixed in #81595.
As noted in the original commit, this commit may break downstream tests.
If this commit is breaking your downstream tests, please see comment 12 in
[0], which documents the kind of variation in tests we'd expect to see from
this change and what to do about it.
[0] https://discourse.llvm.org/t/rfc-instruction-api-changes-needed-to-eliminate-debug-intrinsics-from-ir/68939
-rw-r--r-- | llvm/lib/IR/BasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp index fe9d0d0..bf02eba 100644 --- a/llvm/lib/IR/BasicBlock.cpp +++ b/llvm/lib/IR/BasicBlock.cpp @@ -34,7 +34,7 @@ cl::opt<bool> UseNewDbgInfoFormat("experimental-debuginfo-iterators", cl::desc("Enable communicating debuginfo positions " "through iterators, eliminating intrinsics"), - cl::init(false)); + cl::init(true)); DPMarker *BasicBlock::createMarker(Instruction *I) { assert(IsNewDbgInfoFormat && |