Add support for producing thin archives in llvm-lib.
I will send an entry in docs/CommandGuide for review today.
llvm-svn: 242533
diff --git a/llvm/test/LibDriver/thin.test b/llvm/test/LibDriver/thin.test
new file mode 100644
index 0000000..4ab9d61
--- /dev/null
+++ b/llvm/test/LibDriver/thin.test
@@ -0,0 +1,9 @@
+RUN: echo foo > %t
+
+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>