[llvm] [llvm][DebugInfo] formatv in DWARFCFIPrinter (PR #191982)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 02:36:50 PDT 2026


================
@@ -69,32 +69,32 @@ static void printOperand(raw_ostream &OS, const DIDumpOptions &DumpOpts,
     break;
   case CFIProgram::OT_FactoredCodeOffset: // Always Unsigned
     if (P.codeAlign())
-      OS << format(" %" PRId64, Operand * P.codeAlign());
+      OS << formatv(" {0}", Operand * P.codeAlign());
----------------
s-barannikov wrote:

Should it be cast to signed type? P.codeAlign() is signed, but the product is unsigned


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


More information about the llvm-commits mailing list