diff options
author | Orlando Cazalet-Hyams <orlando.hyams@sony.com> | 2024-02-14 15:23:02 +0000 |
---|---|---|
committer | Orlando Cazalet-Hyams <orlando.hyams@sony.com> | 2024-02-14 16:15:38 +0000 |
commit | a93a4ec7dd205b965ee5597314bb376520cd736c (patch) | |
tree | c4d3ad831a5c90fa11435904eb14408e7644a0b5 /llvm/lib/IR/BasicBlock.cpp | |
parent | 8faefe36ed57c2dab2b50e76fd27045b908f8c1d (diff) | |
download | llvm-a93a4ec7dd205b965ee5597314bb376520cd736c.zip llvm-a93a4ec7dd205b965ee5597314bb376520cd736c.tar.gz llvm-a93a4ec7dd205b965ee5597314bb376520cd736c.tar.bz2 |
Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default"
This reapplies commit bdde5f9 by undoing the revert fd3a0c185f17.
The previous reapplication d759618df763 was reverted due to a crash
(reproducer in comments for d759618df763) which was fixed in #81737.
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
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
-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 && |