18 lines · plain
1# REQUIRES: x862## Show that bitcode files and inputs to LTO-related options are stored in the3## reproduce package and that intermediate files (such as the LTO-compiled4## object) are not.5 6# RUN: rm -rf %t.dir7# RUN: mkdir -p %t.dir/build18# RUN: cd %t.dir9# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o build1/foo.o10# RUN: echo > build1/empty_profile.txt11# RUN: ld.lld build1/foo.o --reproduce repro1.tar --lto-sample-profile=%t.dir/build1/empty_profile.txt12# RUN: tar tvf repro1.tar | FileCheck %s --implicit-check-not={{.}}13 14# CHECK-DAG: {{.*}} repro1/{{.*}}/empty_profile.txt15# CHECK-DAG: {{.*}} repro1/response.txt16# CHECK-DAG: {{.*}} repro1/version.txt17# CHECK-DAG: {{.*}} repro1/{{.*}}/foo.o18