2017-01-06 10:33:53 +08:00
|
|
|
# REQUIRES: x86, shell
|
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.
|
2018-01-19 22:15:13 +08:00
|
|
|
# RUN: llvm-mc %s -o %T/foo\\.o -filetype=obj -triple=x86_64-pc-linux
|
2018-04-06 18:05:47 +08:00
|
|
|
# RUN: ld.lld %T/foo\\.o --reproduce %T/repro.tar -o /dev/null
|
|
|
|
# RUN: tar tf %T/repro.tar | FileCheck %s
|
2016-11-17 03:35:36 +08:00
|
|
|
|
2018-12-08 02:57:09 +08:00
|
|
|
# CHECK: repro/{{.*}}/foo\{{[\]?}}.o
|