[clang] [lldb] [llvm] [mlir] [Support] Validate number of arguments passed to formatv() (PR #105745)

Mehdi Amini via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 28 13:43:36 PDT 2024


================
@@ -655,7 +655,7 @@ DWARFUnit::GetDIE(dw_offset_t die_offset) {
 
   if (!ContainsDIEOffset(die_offset)) {
     GetSymbolFileDWARF().GetObjectFile()->GetModule()->ReportError(
-        "GetDIE for DIE {0:x16} is outside of its CU {0:x16}", die_offset,
+        "GetDIE for DIE {0:x16} is outside of its CU {1:x16}", die_offset,
----------------
joker-eph wrote:

I would push the fixes to main directly ahead of the PR, so that any revert of this PR does not lose these fixes :)

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


More information about the cfe-commits mailing list