1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/Object/archive-thin-paths.test
Peter Collingbourne b308867e02 Object: replace backslashes with slashes in embedded relative thin archive paths on Windows.
This makes these thin archives portable between *nix and Windows.

Differential Revision: https://reviews.llvm.org/D26696

llvm-svn: 287038
2016-11-15 21:36:35 +00:00

10 lines
280 B
Plaintext

REQUIRES: system-windows
RUN: cd %T
RUN: mkdir -p archive-thin-paths.dir
RUN: echo foo > archive-thin-paths.dir/foo.o
RUN: rm -f archive-thin-paths.a
RUN: llvm-ar rcsT archive-thin-paths.a archive-thin-paths.dir\foo.o
RUN: grep archive-thin-paths.dir/foo.o archive-thin-paths.a