diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:41:23 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:41:23 +0000 |
commit | 4a16efa3e43e35f0cc9efe3a67f620f0017c3d36 (patch) | |
tree | 06099edc18d30894081a822b756f117cbe0b8207 /test/Object/simple-archive.test | |
parent | 482e7bddf617ae804dc47133cb07eb4aa81e45de (diff) |
Diffstat (limited to 'test/Object/simple-archive.test')
-rw-r--r-- | test/Object/simple-archive.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Object/simple-archive.test b/test/Object/simple-archive.test new file mode 100644 index 0000000000000..3e6760ed97a43 --- /dev/null +++ b/test/Object/simple-archive.test @@ -0,0 +1,12 @@ +# +# Check if the index is appearing properly in the output file +# +RUN: llvm-nm -s %p/Inputs/libsimple_archive.a | FileCheck -check-prefix=CHECKIDX %s + +CHECKIDX: Archive map +CHECKIDX: abcdefghijklmnopqrstuvwxyz12345678 in 1.o +CHECKIDX: main in 1.o +CHECKIDX: 1.o: +CHECKIDX: 00000000 D abcdefghijklmnopqrstuvwxyz12345678 +CHECKIDX: U fn1 +CHECKIDX: 00000000 T main |