[llvm] cbbbab3 - [RemoveDIs] Enable direct-to-bitcode writing by default
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 02:15:53 PDT 2024
Author: Orlando Cazalet-Hyams
Date: 2024-03-25T09:15:41Z
New Revision: cbbbab349e9c412729c3969008cdcb677cc55790
URL: https://github.com/llvm/llvm-project/commit/cbbbab349e9c412729c3969008cdcb677cc55790
DIFF: https://github.com/llvm/llvm-project/commit/cbbbab349e9c412729c3969008cdcb677cc55790.diff
LOG: [RemoveDIs] Enable direct-to-bitcode writing by default
Follow on from #83251. This patch simply enables the behaviour by default in
order to provide an easily revertible capstone.
Added:
Modified:
llvm/lib/IR/BasicBlock.cpp
Removed:
################################################################################
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp
index f088c7a2cc4e77..ae99267f5ba879 100644
--- a/llvm/lib/IR/BasicBlock.cpp
+++ b/llvm/lib/IR/BasicBlock.cpp
@@ -39,7 +39,7 @@ cl::opt<bool>
bool WriteNewDbgInfoFormatToBitcode /*set default value in cl::init() below*/;
cl::opt<bool, true> WriteNewDbgInfoFormatToBitcode2(
"write-experimental-debuginfo-iterators-to-bitcode", cl::Hidden,
- cl::location(WriteNewDbgInfoFormatToBitcode), cl::init(false));
+ cl::location(WriteNewDbgInfoFormatToBitcode), cl::init(true));
DbgMarker *BasicBlock::createMarker(Instruction *I) {
assert(IsNewDbgInfoFormat &&
More information about the llvm-commits
mailing list