llvm/test/LibDriver/thin.test
Peter Collingbourne f87c88ec75 LibDriver: Reject inputs that are not COFF objects or bitcode files.
Fixes PR31372.

Differential Revision: https://reviews.llvm.org/D27776

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289726 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-14 22:19:22 +00:00

10 lines
275 B
Plaintext

RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t %S/Inputs/a.s
RUN: llvm-lib -out:%t.a %t
RUN: FileCheck --check-prefix=FAT %s < %t.a
FAT: !<arch>
RUN: llvm-lib -out:%t.thin.a -llvmlibthin %t
RUN: FileCheck --check-prefix=THIN %s < %t.thin.a
THIN: !<thin>