diff options
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 e35b4d4..869bea8 100644 --- a/test/Object/nm-archive.test +++ b/test/Object/nm-archive.test @@ -1,10 +1,13 @@ RUN: llvm-nm %p/Inputs/archive-test.a-coff-i386 \ RUN: | FileCheck %s -check-prefix COFF + RUN: llvm-as %p/Inputs/trivial.ll -o=%t1 RUN: rm -f %t2 RUN: llvm-ar rcs %t2 %t1 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 COFF: trivial-object-test.coff-i386: COFF-NEXT: 00000000 d .data |