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
|
|
|
|
# RUN: ld.lld %T/foo\\.o --reproduce repro.tar
|
2017-01-06 10:33:53 +08:00
|
|
|
# RUN: tar tf repro.tar | FileCheck %s
|
2016-11-17 03:35:36 +08:00
|
|
|
|
2017-01-06 10:33:53 +08:00
|
|
|
# CHECK: repro/{{.*}}/foo\\.o
|