[llvm] e419084 - [RemoveDIs] Enable direct-to-bitcode writing by default
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 06:32:56 PDT 2024
Author: Orlando Cazalet-Hyams
Date: 2024-03-15T13:32:11Z
New Revision: e419084da7a00b269368aeb95698e0d36b24e8ec
URL: https://github.com/llvm/llvm-project/commit/e419084da7a00b269368aeb95698e0d36b24e8ec
DIFF: https://github.com/llvm/llvm-project/commit/e419084da7a00b269368aeb95698e0d36b24e8ec.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 5f0780847938f3..3932576759d9e3 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));
DPMarker *BasicBlock::createMarker(Instruction *I) {
assert(IsNewDbgInfoFormat &&
More information about the llvm-commits
mailing list