[llvm] [RemoveDIs] Print non-intrinsic debug info in textual IR output (PR #79281)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 02:00:23 PST 2024
================
@@ -234,6 +238,13 @@ class LLVM_EXTERNAL_VISIBILITY Module {
IsNewDbgInfoFormat = false;
}
+ void setIsNewDbgInfoFormat(bool NewFlag) {
+ if (NewFlag && !IsNewDbgInfoFormat)
+ convertToNewDbgValues();
+ else if (!NewFlag && IsNewDbgInfoFormat)
+ convertFromNewDbgValues();
----------------
phyBrackets wrote:
Ah Alright,it's fine! Thank You!
https://github.com/llvm/llvm-project/pull/79281
More information about the llvm-commits
mailing list