Page MenuHomePhabricator

D57676.id.diff
No OneTemporary

File Metadata

Created
Wed, Feb 26, 12:26 PM

D57676.id.diff

Index: llvm/trunk/tools/llvm-elfabi/ELFObjHandler.cpp
===================================================================
--- llvm/trunk/tools/llvm-elfabi/ELFObjHandler.cpp
+++ llvm/trunk/tools/llvm-elfabi/ELFObjHandler.cpp
@@ -130,14 +130,16 @@
if (Dyn.SONameOffset.hasValue() && *Dyn.SONameOffset >= Dyn.StrSize) {
return createStringError(
object_error::parse_failed,
- "DT_SONAME string offset (0x%016x) outside of dynamic string table",
+ "DT_SONAME string offset (0x%016" PRIx64
+ ") outside of dynamic string table",
*Dyn.SONameOffset);
}
for (uint64_t Offset : Dyn.NeededLibNames) {
if (Offset >= Dyn.StrSize) {
return createStringError(
object_error::parse_failed,
- "DT_NEEDED string offset (0x%016x) outside of dynamic string table",
+ "DT_NEEDED string offset (0x%016" PRIx64
+ ") outside of dynamic string table",
Offset);
}
}

Event Timeline