================
@@ -0,0 +1,47 @@
+# RUN: rm -rf %t.dir
+# RUN: split-file %s %t.dir && cd %t.dir
+# RUN: %clang -c -flto=thin -O2  mymul.cpp  -o mymul.o
+# RUN: %clang -c -flto=thin -O2  myfoo.cpp  -o myfoo.o
+# RUN: %clang -fuse-ld=lld -shared -O2 -flto=thin mymul.o myfoo.o -o libmy.so 
-Wl,-plugin-opt=save-temps -Wl,-plugin-opt=-filter-print-modules=mymul.o
----------------
teresajohnson wrote:

Since the change is purely in LLVM, use an LLVM LTO test not a clang test. For 
example, see llvm/test/ThinLTO/X86/selective-save-temps.ll, which is testing a 
different type of save-temps selectiveness.

https://github.com/llvm/llvm-project/pull/175696
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to