Skip to content

Commit bdde5f9

Browse files
committed
[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default
This patch causes all variable-location debug-info to be converted into non-intrinsic records as they passes through the optimisation / instrumentation passes. There's a brief introduction here [0] and a more detailed thread on what this means on discourse at [1]. If this commit is breaking your downstream tests, please see comment 12 in [1], which documents the kind of variation in tests we'd expect to see from this change and what to do about it. [0] https://llvm.org/docs/RemoveDIsDebugInfo.html [1] https://discourse.llvm.org/t/rfc-instruction-api-changes-needed-to-eliminate-debug-intrinsics-from-ir/68939
1 parent 750981f commit bdde5f9

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)