summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-lib/thin.test
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-11-02 20:05:20 +0000
committerMartin Storsjo <martin@martin.st>2017-11-02 20:05:20 +0000
commit20910f46b60f8f6cf0a110199a4e8f638c43de83 (patch)
tree38d046021cc059d09dc9be2677b862018c0c8417 /llvm/test/tools/llvm-lib/thin.test
parent82b077db3a829f298d791afc7366e6e42db81541 (diff)
downloadbcm5719-llvm-20910f46b60f8f6cf0a110199a4e8f638c43de83.tar.gz
bcm5719-llvm-20910f46b60f8f6cf0a110199a4e8f638c43de83.zip
[test] Move llvm-lib tests into tools/llvm-lib. NFC.
Similarly to SVN r317189 for llvm-dlltool, these are probably easier to find in a tools subdirectory with a name identical to the tool, than in a toplevel directory with a different name. This matches the move of LibDriver itself in SVN r302995. Differential Revision: https://reviews.llvm.org/D39531 llvm-svn: 317262
Diffstat (limited to 'llvm/test/tools/llvm-lib/thin.test')
-rw-r--r--llvm/test/tools/llvm-lib/thin.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-lib/thin.test b/llvm/test/tools/llvm-lib/thin.test
new file mode 100644
index 00000000000..c401de41a80
--- /dev/null
+++ b/llvm/test/tools/llvm-lib/thin.test
@@ -0,0 +1,9 @@
+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>
OpenPOWER on IntegriCloud