[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / reproduce-windows.s
blob2c4a7774dcfd04dec21d660fc49d7a12011e7f93
1 # REQUIRES: x86
3 # Test that a repro archive always uses / instead of \.
4 # RUN: rm -rf %t.dir
5 # RUN: mkdir -p %t.dir/build
6 # RUN: llvm-mc %s -o %t.dir/build/foo.o -filetype=obj -triple=x86_64-pc-linux
7 # RUN: cd %t.dir
8 # RUN: ld.lld build/foo.o --reproduce repro.tar
9 # RUN: tar tf repro.tar | FileCheck -DPATH='repro/%:t.dir' %s
11 # CHECK: repro/response.txt
12 # CHECK: [[PATH]]/build/foo.o