Skip to content

Commit d759618

Browse files
committed
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
1 parent 4612208 commit d759618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/BasicBlock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cl::opt<bool>
3434
UseNewDbgInfoFormat("experimental-debuginfo-iterators",
3535
cl::desc("Enable communicating debuginfo positions "
3636
"through iterators, eliminating intrinsics"),
37-
cl::init(false));
37+
cl::init(true));
3838

3939
DPMarker *BasicBlock::createMarker(Instruction *I) {
4040
assert(IsNewDbgInfoFormat &&

0 commit comments

Comments
 (0)