mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Fix the problem with llvm-objdump and -archive-headers in printing the archive header size field.
This problem showed up with the clang-cmake-armv7-a15-full bot. Thanks to Renato Golin for his help. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -3,8 +3,8 @@ RUN: | FileCheck %s
|
|||||||
|
|
||||||
# Note the date as printed by ctime(3) is time zone dependent and not checked.
|
# Note the date as printed by ctime(3) is time zone dependent and not checked.
|
||||||
CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
|
CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
|
||||||
CHECK: -rw-r--r--124/11 {{.*}} __.SYMDEF SORTED
|
CHECK: -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED
|
||||||
CHECK: -rw-r--r--124/0 {{.*}} hello.o
|
CHECK: -rw-r--r--124/0 860 {{.*}} hello.o
|
||||||
CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
|
CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
|
||||||
CHECK: -rw-r--r--124/11 {{.*}} __.SYMDEF SORTED
|
CHECK: -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED
|
||||||
CHECK: -rw-r--r--124/0 {{.*}} foo.o
|
CHECK: -rw-r--r--124/0 388 {{.*}} foo.o
|
||||||
|
@ -749,7 +749,7 @@ static void printArchiveChild(Archive::Child &C, bool verbose,
|
|||||||
unsigned GID = C.getGID();
|
unsigned GID = C.getGID();
|
||||||
outs() << format("%-3d ", GID);
|
outs() << format("%-3d ", GID);
|
||||||
uint64_t Size = C.getRawSize();
|
uint64_t Size = C.getRawSize();
|
||||||
outs() << format("%5d ", Size);
|
outs() << format("%5" PRId64, Size) << " ";
|
||||||
|
|
||||||
StringRef RawLastModified = C.getRawLastModified();
|
StringRef RawLastModified = C.getRawLastModified();
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
|
Reference in New Issue
Block a user