mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-07 04:21:27 +00:00
4e35fa54a6
Summary: Colons can appear in Windows paths after drive letters. Both colon and semicolon are valid characters in filenames, but neither are very common. Semicolon seems just as good, and makes the test pass on Windows. Reviewers: tejohnson Subscribers: joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D20332 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269798 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
718 B
LLVM
18 lines
718 B
LLVM
; Check that changing the output path via prefix-replace works
|
|
; Use of '/' in paths created here make this unsuitable for Windows.
|
|
; RUN: mkdir -p %T/oldpath
|
|
; RUN: opt -module-summary %s -o %T/oldpath/prefix_replace.o
|
|
; Ensure that there is no existing file at the new path, so we properly
|
|
; test the creation of the new file there.
|
|
; RUN: rm -f %T/newpath/prefix_replace.o.thinlto.bc
|
|
|
|
; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %T/oldpath/prefix_replace.o
|
|
; RUN: llvm-lto -thinlto-action=distributedindexes -thinlto-prefix-replace="%T/oldpath/;%T/newpath/" -thinlto-index %t.index.bc %T/oldpath/prefix_replace.o
|
|
|
|
; RUN: ls %T/newpath/prefix_replace.o.thinlto.bc
|
|
|
|
define void @f() {
|
|
entry:
|
|
ret void
|
|
}
|