]> granicus.if.org Git - llvm/commit
[elfabi] Fix the type of the variable formated for error output
authorPetar Jovanovic <petar.jovanovic@mips.com>
Tue, 5 Feb 2019 22:23:46 +0000 (22:23 +0000)
committerPetar Jovanovic <petar.jovanovic@mips.com>
Tue, 5 Feb 2019 22:23:46 +0000 (22:23 +0000)
commit4876a5d039e291d2f5eba4a8900b78b397cb58c5
treeb609fc51bcca1cab2130c39e242a6a51c9c9e0d6
parent1c10dc8b9c632bdaec06499c72ab22c389cc6685
[elfabi] Fix the type of the variable formated for error output

Change the format type of Dyn.SONameOffset to PRIx64 since it is a uint64_t.
The problem was detected on mips builds, where it was printing junk values
and causing test failure.

Patch by Milos Stojanovic.

Differential Revision: https://reviews.llvm.org/D57676

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353225 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-elfabi/ELFObjHandler.cpp