[llvm] [RemoveDIs] Print non-intrinsic debug info in textual IR output (PR #79281)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 09:05:18 PST 2024


================
@@ -22,6 +22,11 @@
 
 using namespace llvm;
 
+cl::opt<bool> WriteNewDbgInfoFormat(
+    "write-experimental-debuginfo",
+    cl::desc("Write debug info in the new non-intrinsic format"),
+    cl::init(false));
+
----------------
jmorse wrote:

This give me pause for thought a bit, as we might grow other users of this flag that aren't in the "LLVMIRPrinter" library. However: if it does, we can just move where the flag lives, so it's no big deal.

https://github.com/llvm/llvm-project/pull/79281


More information about the llvm-commits mailing list