llvm.org GIT mirror llvm / f9857eb
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 Kevin Enderby 5 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
22
33 # Note the date as printed by ctime(3) is time zone dependent and not checked.
44 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
5 CHECK: -rw-r--r--124/11 {{.*}} __.SYMDEF SORTED
6 CHECK: -rw-r--r--124/0 {{.*}} hello.o
5 CHECK: -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED
6 CHECK: -rw-r--r--124/0 860 {{.*}} hello.o
77 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
8 CHECK: -rw-r--r--124/11 {{.*}} __.SYMDEF SORTED
9 CHECK: -rw-r--r--124/0 {{.*}} foo.o
8 CHECK: -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED
9 CHECK: -rw-r--r--124/0 388 {{.*}} foo.o
748748 unsigned GID = C.getGID();
749749 outs() << format("%-3d ", GID);
750750 uint64_t Size = C.getRawSize();
751 outs() << format("%5d ", Size);
751 outs() << format("%5" PRId64, Size) << " ";
752752
753753 StringRef RawLastModified = C.getRawLastModified();
754754 if (verbose) {