[llvm] fd3a0c1 - Revert "Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default""

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 13:45:15 PST 2024


Author: Arthur Eubanks
Date: 2024-02-13T21:43:38Z
New Revision: fd3a0c185f177351207783fc2a604dac086cdaf7

URL: https://github.com/llvm/llvm-project/commit/fd3a0c185f177351207783fc2a604dac086cdaf7
DIFF: https://github.com/llvm/llvm-project/commit/fd3a0c185f177351207783fc2a604dac086cdaf7.diff

LOG: Revert "Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default""

This reverts commit d759618df76361a8e490eeae5c5399e0738cbfd0.

Causes crashes, see comments in https://github.com/llvm/llvm-project/commit/d759618df76361a8e490eeae5c5399e0738cbfd0.

Added: 
    

Modified: 
    llvm/lib/IR/BasicBlock.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp
index bf02eba9fb448..fe9d0d08c5fe9 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(true));
+                        cl::init(false));
 
 DPMarker *BasicBlock::createMarker(Instruction *I) {
   assert(IsNewDbgInfoFormat &&


        


More information about the llvm-commits mailing list