[llvm] 5c9f768 - Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default"
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 07:49:45 PST 2024
Author: Stephen Tozer
Date: 2024-02-12T15:49:27Z
New Revision: 5c9f7682b090124d9a8b69f92d3f7c269dca25fc
URL: https://github.com/llvm/llvm-project/commit/5c9f7682b090124d9a8b69f92d3f7c269dca25fc
DIFF: https://github.com/llvm/llvm-project/commit/5c9f7682b090124d9a8b69f92d3f7c269dca25fc.diff
LOG: Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default"
This reapplies commit bdde5f9bea75e897bcc31a95b9c3376988c211cc.
The above commit previously failed due to buildbot errors:
https://lab.llvm.org/buildbot/#/builders/205/builds/25126
https://lab.llvm.org/buildbot/#/builders/184/builds/10242
These failures should have been respectively resolved by the commits:
afa413a132c0959295df36c28814ee83948e4931
b5a273a1cfe6f509f8d2541e04d9186438f33348
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
Added:
Modified:
llvm/lib/IR/BasicBlock.cpp
Removed:
################################################################################
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp
index fe9d0d08c5fe97..bf02eba9fb448d 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 &&
More information about the llvm-commits
mailing list