diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Object/Inputs/macho-toc64-archive-x86_64.a | bin | 0 -> 1576 bytes | |||
-rw-r--r-- | llvm/test/Object/archive-symtab.test | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/macho-toc64-archive-x86_64.a b/llvm/test/Object/Inputs/macho-toc64-archive-x86_64.a Binary files differnew file mode 100644 index 00000000000..e73f3dce6bd --- /dev/null +++ b/llvm/test/Object/Inputs/macho-toc64-archive-x86_64.a diff --git a/llvm/test/Object/archive-symtab.test b/llvm/test/Object/archive-symtab.test index 6bad783a8c8..0fcf9adf916 100644 --- a/llvm/test/Object/archive-symtab.test +++ b/llvm/test/Object/archive-symtab.test @@ -99,6 +99,12 @@ MACHO-NEXT: 0000000000000000 t _bar MACHO-NEXT: 0000000000000001 T _foo MACHO-NEXT: 0000000000000002 T _main +RUN: llvm-nm -M %p/Inputs/macho-toc64-archive-x86_64.a | FileCheck --check-prefix=MACHO-TOC64 %s + +MACHO-TOC64: Archive map +MACHO-TOC64-NEXT: _test in test.o +MACHO-TOC64-NEXT: _test in xtest.o + RUN: rm -f %t.a RUN: llvm-ar --format=gnu rcsU %t.a %p/Inputs/coff-short-import-code %p/Inputs/coff-short-import-data RUN: llvm-nm -M %t.a | FileCheck --check-prefix=COFF-SHORT-IMPORT %s |