[all-commits] [llvm/llvm-project] beae6b: [LLVM][objcopy] Fix update-section.test on 32 bit ...
David Spickett via All-commits
all-commits at lists.llvm.org
Fri Dec 16 03:12:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: beae6bfa14ac991b405d2928027fb0e31e777a09
https://github.com/llvm/llvm-project/commit/beae6bfa14ac991b405d2928027fb0e31e777a09
Author: David Spickett <david.spickett at linaro.org>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
M llvm/lib/ObjCopy/ELF/ELFObject.cpp
M llvm/test/tools/llvm-objcopy/ELF/update-section.test
Log Message:
-----------
[LLVM][objcopy] Fix update-section.test on 32 bit platforms
This used %zu to print a uint64_t type. z is for size_t so on 32 bit
we tried to treat it as a 32 bit number.
Use PRIu64 instead to print as 64 bit everywhere.
More information about the All-commits
mailing list