Changed the format call to match the surrounding code. Previously it was printing an unsigned int while the return type being printed was long unsigned int or wider. This caused problems for big-endian systems which were discovered on mips64.
Also, the printed address had less characters than it should because the character count was directly obtained from the number of bytes in the address. The tests were adapted to fit this fix and now use longer addresses.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM, with one nit.
tools/llvm-objdump/llvm-objdump.cpp | ||
---|---|---|
2225 ↗ | (On Diff #170089) | Nit: address -> Address, or just do this inline, I don't mind which. |