[PATCH] D58451: [DebugInfo] Fix the type of the formated variable
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 20 10:37:02 PST 2019
probinson added a comment.
Please add a test.
================
Comment at: lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:303
if (Personality)
- OS << format(" Personality Address: %08x\n", *Personality);
+ OS << format(" Personality Address: %08" PRIx64 "\n", *Personality);
if (!AugmentationData.empty()) {
----------------
Well, that looks like an improvement, but if the address is 64-bit, won't this print only the low-order half?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58451/new/
https://reviews.llvm.org/D58451
More information about the llvm-commits
mailing list