diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 19:40:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 19:40:23 +0000 |
commit | 6d88f9b73ae8e9170cd8da729895a03a785cc633 (patch) | |
tree | e8233a4947a62667eeb94d7a42bc9f4b374b7158 /test/Object/nm-archive.test | |
parent | 2c8ce86e7aae23f9d86cdf4e6027f9703c13ee7f (diff) | |
download | external_llvm-6d88f9b73ae8e9170cd8da729895a03a785cc633.zip external_llvm-6d88f9b73ae8e9170cd8da729895a03a785cc633.tar.gz external_llvm-6d88f9b73ae8e9170cd8da729895a03a785cc633.tar.bz2 |
Add support for archives with no symbol table or string table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/nm-archive.test')
-rw-r--r-- | test/Object/nm-archive.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Object/nm-archive.test b/test/Object/nm-archive.test index 869bea8..922983c 100644 --- a/test/Object/nm-archive.test +++ b/test/Object/nm-archive.test @@ -9,6 +9,9 @@ RUN: llvm-nm %t2 | FileCheck %s -check-prefix BITCODE Test we don't error with an archive with no symtab. RUN: llvm-nm %p/Inputs/archive-test.a-gnu-no-symtab +Or in an archive with no symtab or string table. +RUN: llvm-nm %p/Inputs/archive-test.a-gnu-minimal + COFF: trivial-object-test.coff-i386: COFF-NEXT: 00000000 d .data COFF-NEXT: 00000000 t .text |