diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2018-11-12 22:43:17 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2018-11-12 22:43:17 +0000 |
commit | 22dc538618a76c61117512afb83a08d7fd7f4995 (patch) | |
tree | 21fccf0bd1ade9e207420a50eeb3e7af515d3906 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a85ba92cb098d2ac4a813dfeb1d48706752e8916 (diff) | |
download | llvm-22dc538618a76c61117512afb83a08d7fd7f4995.zip llvm-22dc538618a76c61117512afb83a08d7fd7f4995.tar.gz llvm-22dc538618a76c61117512afb83a08d7fd7f4995.tar.bz2 |
[DWARF] Do not use PRIx32 for printing uint64_t values
The `DWARFDebugAddrTable::dump` routine prints 32/64-bits addresses.
These values are stored in a vector of `uint64_t` independently of their
original sizes. But `format` function gets format string with PRIx32
suffix in case of 32-bit address size. At least on MIPS 32-bit targets
that leads to incorrect output.
This patch changes formats strings and always use PRIx64 to print
`uint64_t` values.
Differential Revision: http://reviews.llvm.org/D54424
llvm-svn: 346715
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions