Skip to content

Commit 3343338

Browse files
author
Ash Dobrescu
committed
Write error message in hex
1 parent 0c847b5 commit 3343338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,7 @@ void RewriteInstance::readDynamicRelocations(const SectionRef &Section,
24522452
}
24532453
} else {
24542454
BC->errs() << "BOLT-ERROR: referenced address at 0x"
2455-
<< ReferencedAddress
2455+
<< Twine::utohexstr(ReferencedAddress)
24562456
<< " is in constant island of function " << *Func << "\n";
24572457
exit(1);
24582458
}

0 commit comments

Comments
 (0)