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

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 10:54:29 PST 2024


================
@@ -23,6 +23,8 @@
 
 using namespace llvm;
 
+extern cl::opt<bool> WriteNewDbgInfoFormat;
----------------
nico wrote:

This makes llvm/lib/IR depend on llvm/lib/IRPrinter (where this is defined), but the latter already depends on the former. That is, this introduces a cyclic dependency.

The definition of this symbol should probably live in this file and be extern in IRPrinter?

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


More information about the llvm-commits mailing list