You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
310 B

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/