diff --git a/lld/test/ELF/lto/devirt_validate_vtable_typeinfos.ll b/lld/test/ELF/lto/devirt_validate_vtable_typeinfos.ll index d6ac53f9fb936..74e437747df3b 100644 --- a/lld/test/ELF/lto/devirt_validate_vtable_typeinfos.ll +++ b/lld/test/ELF/lto/devirt_validate_vtable_typeinfos.ll @@ -3,7 +3,7 @@ ;; Common artifacts ; RUN: opt --thinlto-bc -o %t1.o %s ; RUN: opt --thinlto-bc --thinlto-split-lto-unit -o %t1_hybrid.o %s -; RUN: cp %s %t1_regular.ll +; RUN: cat %s > %t1_regular.ll ; RUN: echo '!llvm.module.flags = !{!12, !13}' >> %t1_regular.ll ; RUN: echo '!12 = !{i32 1, !"ThinLTO", i32 0}' >> %t1_regular.ll ; RUN: echo '!13 = !{i32 1, !"EnableSplitLTOUnit", i32 1}' >> %t1_regular.ll diff --git a/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_no_rtti.ll b/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_no_rtti.ll index 30bd75606f7d2..3f3ea2cc5a375 100644 --- a/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_no_rtti.ll +++ b/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_no_rtti.ll @@ -3,7 +3,7 @@ ;; Common artifacts ; RUN: opt --thinlto-bc -o %t1.o %s ; RUN: opt --thinlto-bc --thinlto-split-lto-unit -o %t1_hybrid.o %s -; RUN: cp %s %t1_regular.ll +; RUN: cat %s > %t1_regular.ll ; RUN: echo '!llvm.module.flags = !{!6, !7}' >> %t1_regular.ll ; RUN: echo '!6 = !{i32 1, !"ThinLTO", i32 0}' >> %t1_regular.ll ; RUN: echo '!7 = !{i32 1, !"EnableSplitLTOUnit", i32 1}' >> %t1_regular.ll diff --git a/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_ref.ll b/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_ref.ll index 4ef048d6b6c60..2318af4b16ab4 100644 --- a/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_ref.ll +++ b/lld/test/ELF/lto/devirt_validate_vtable_typeinfos_ref.ll @@ -3,7 +3,7 @@ ;; Common artifacts ; RUN: opt --thinlto-bc -o %t1.o %s ; RUN: opt --thinlto-bc --thinlto-split-lto-unit -o %t1_hybrid.o %s -; RUN: cp %s %t1_regular.ll +; RUN: cat %s > %t1_regular.ll ; RUN: echo '!llvm.module.flags = !{!2, !3}' >> %t1_regular.ll ; RUN: echo '!2 = !{i32 1, !"ThinLTO", i32 0}' >> %t1_regular.ll ; RUN: echo '!3 = !{i32 1, !"EnableSplitLTOUnit", i32 1}' >> %t1_regular.ll