Skip to content

Commit 71c8c00

Browse files
authored
Revert "Revert "[RemoveDIs] Enable direct-to-bitcode writing by default"" (llvm#1229)
This reverts commit d439a82. Now that we're using debug records by default we need to support writing them to bitcode.
1 parent 173ce10 commit 71c8c00

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
@@ -47,7 +47,7 @@ cl::opt<cl::boolOrDefault> PreserveInputDbgFormat(
4747
bool WriteNewDbgInfoFormatToBitcode /*set default value in cl::init() below*/;
4848
cl::opt<bool, true> WriteNewDbgInfoFormatToBitcode2(
4949
"write-experimental-debuginfo-iterators-to-bitcode", cl::Hidden,
50-
cl::location(WriteNewDbgInfoFormatToBitcode), cl::init(false));
50+
cl::location(WriteNewDbgInfoFormatToBitcode), cl::init(true));
5151

5252
DbgMarker *BasicBlock::createMarker(Instruction *I) {
5353
assert(IsNewDbgInfoFormat &&

0 commit comments

Comments
 (0)