[llvm] [RemoveDIs] Load into new debug info format by default in LLVM (PR #89799)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 07:20:38 PDT 2024


================
@@ -26,6 +27,27 @@
 
 using namespace llvm;
 
+extern llvm::cl::opt<bool> UseNewDbgInfoFormat;
+extern cl::opt<cl::boolOrDefault> PreserveInputDbgFormat;
+extern bool WriteNewDbgInfoFormatToBitcode;
+extern cl::opt<bool> WriteNewDbgInfoFormat;
+
+// Backup all of the existing settings that may be modified when
+// PreserveInputDbgFormat=true, so that when the test is finished we return them
+// (and the "preserve" setting) to their original values.
+auto TempSettingChange() {
----------------
OCHyams wrote:

Ignore the above, the usage in this file gets removed in #90476 anyway.

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


More information about the llvm-commits mailing list