2019-10-30 01:17:22 +08:00
|
|
|
# REQUIRES: x86, system-linux
|
2016-11-17 03:35:36 +08:00
|
|
|
|
|
|
|
# Test that we don't erroneously replace \ with / on UNIX, as it's
|
|
|
|
# legal for a filename to contain backslashes.
|
2019-10-30 01:17:22 +08:00
|
|
|
# RUN: rm -rf %t.dir && mkdir -p %t.dir
|
|
|
|
# RUN: llvm-mc %s -o %t.dir/foo\\.o -filetype=obj -triple=x86_64-pc-linux
|
|
|
|
# RUN: ld.lld %t.dir/foo\\.o --reproduce %t.dir/repro.tar -o /dev/null
|
|
|
|
# RUN: tar tf %t.dir/repro.tar | FileCheck %s
|
2016-11-17 03:35:36 +08:00
|
|
|
|
2018-12-08 02:57:09 +08:00
|
|
|
# CHECK: repro/{{.*}}/foo\{{[\]?}}.o
|