Change the format type of *Personality and *LSDAAddress to PRIx64 since they are of type uint64_t.
The problem was detected on mips builds, where it was printing junk values and causing test failure.
Details
Diff Detail
Event Timeline
Please add a test.
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | ||
---|---|---|
303 | Well, that looks like an improvement, but if the address is 64-bit, won't this print only the low-order half? |
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | ||
---|---|---|
303 | This doesn't truncate so it would print the whole address but it's true that if the address can be 64-bit the output should be padded with the appropriate number of zeroes to indicate that. |
LGTM. It would be nice if we picked a width to print based on the width we read in, but this is fine.
Well, that looks like an improvement, but if the address is 64-bit, won't this print only the low-order half?