1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/tools/llvm-ar/reduce-thin-path.test
Owen Reynolds b66ffd02b5 [llvm-ar] Reapply Fix relative thin archive path handling
Includes a fix for an introduced build failure due to a post c++11 use of std::mismatch. 

This fixes some thin archive relative path issues, paths are shortened where possible and paths are output correctly when using the display table command.

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

llvm-svn: 362484
2019-06-04 10:13:03 +00:00

11 lines
310 B
Plaintext

RUN: rm -rf %t && mkdir -p %t/foo/bar/
RUN: mkdir -p %t/baz/
RUN: yaml2obj %S/Inputs/elf.yaml -o %t/elf.o
RUN: cd %t && llvm-ar rTc %t/baz/internal.ar elf.o
RUN: cd %t/foo && llvm-ar rTc %t/foo/bar/external.ar ../baz/internal.ar
RUN: FileCheck -input-file=%t/foo/bar/external.ar %s
CHECK: {{^}}../../elf.o/