[compiler-rt] [sanitizer_symbolizer] Use correct format strings for uptr (PR #89815)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 13:42:56 PDT 2024


================
@@ -96,7 +97,7 @@ static void RenderModule(InternalScopedString *buffer,
   for (uptr i = 0; i < module.uuid_size(); i++)
     buildIdBuffer.AppendF("%02x", module.uuid()[i]);
 
-  buffer->AppendF(kFormatModule, moduleId, module.full_name(),
+  buffer->AppendF(kFormatModule, static_cast<int>(moduleId), module.full_name(),
----------------
vitalybuka wrote:

here, I'd rather update
"{{{module:%zu:%s:elf:%s}}}";

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


More information about the llvm-commits mailing list