diff options
| author | Vedant Kumar <vsk@apple.com> | 2016-08-03 18:44:32 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2016-08-03 18:44:32 +0000 |
| commit | bfb6072d84fbd6169d57afe9d812de1abca7b5d7 (patch) | |
| tree | ca63aef2231c865815c8d3af447996f6e9c34b96 /llvm/test/tools/llvm-objdump/malformed-archives.test | |
| parent | 23ee12e173762f977f1deeec14dccb32f6478204 (diff) | |
| download | bcm5719-llvm-bfb6072d84fbd6169d57afe9d812de1abca7b5d7.tar.gz bcm5719-llvm-bfb6072d84fbd6169d57afe9d812de1abca7b5d7.zip | |
Revert "More fixes to get good error messages for bad archives."
This reverts commit r277540. It breaks the build with:
../lib/Object/Archive.cpp:264:41: error: return type of out-of-line definition of 'llvm::object::ArchiveMemberHeader::getUID' differs from that in the declaration
Expected<unsigned> ArchiveMemberHeader::getUID() const {
~~~~~~~~~~~~~~~~~~ ^
include/llvm/Object/Archive.h:53:12: note: previous declaration is here
unsigned getUID() const;
~~~~~~~~ ^
llvm-svn: 277627
Diffstat (limited to 'llvm/test/tools/llvm-objdump/malformed-archives.test')
| -rw-r--r-- | llvm/test/tools/llvm-objdump/malformed-archives.test | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/tools/llvm-objdump/malformed-archives.test b/llvm/test/tools/llvm-objdump/malformed-archives.test index b8ba48d838e..a9733d5939d 100644 --- a/llvm/test/tools/llvm-objdump/malformed-archives.test +++ b/llvm/test/tools/llvm-objdump/malformed-archives.test @@ -58,31 +58,3 @@ # RUN: 2>&1 | FileCheck -check-prefix=bogus10 %s # bogus10: libbogus10.a(???) truncated or malformed archive (long name offset 507 past the end of the string table for archive member header at offset 94) - -# RUN: not llvm-objdump -macho -archive-headers \ -# RUN: %p/Inputs/libbogus11.a \ -# RUN: 2>&1 | FileCheck -check-prefix=bogus11 %s - -# bogus11: libbogus11.a(hello.c) truncated or malformed archive (characters in UID field in archive header are not all decimal numbers: '~97&' for the archive member header at offset 8) - -# RUN: not llvm-objdump -macho -archive-headers \ -# RUN: %p/Inputs/libbogus12.a \ -# RUN: 2>&1 | FileCheck -check-prefix=bogus12 %s - -# bogus12: libbogus12.a(hello.c) truncated or malformed archive (characters in GID field in archive header are not all decimal numbers: '#55!' for the archive member header at offset 8) - -# RUN: not llvm-objdump -macho -archive-headers \ -# RUN: %p/Inputs/libbogus13.a \ -# RUN: 2>&1 | FileCheck -check-prefix=bogus13 %s - -# bogus13: libbogus13.a(hello.c) truncated or malformed archive (characters in AccessMode field in archive header are not all decimal numbers: 'Feed' for the archive member header at offset 8) - -# RUN: llvm-objdump -macho -archive-headers %p/Inputs/libbogus14.a \ -# RUN: 2>&1 | FileCheck -check-prefix=bogus14 %s - -# bogus14: -rw-r--r--124/0 102 (date: "1foobar273" contains non-decimal chars) hello.c - -# RUN: not llvm-ar tv %p/Inputs/libbogus14.a \ -# RUN: 2>&1 | FileCheck -check-prefix=bogus14a %s - -# bogus14a: truncated or malformed archive (characters in LastModified field in archive header are not all decimal numbers: '1foobar273' for the archive member header at offset 8) |

