You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.182
Former-commit-id: f9d55cf82631bfd710c387739687e5845296aea1
This commit is contained in:
parent
8625704ad8
commit
b716dc8d12
@ -1,20 +0,0 @@
|
||||
MSVC's lib.exe produces archives with absolute paths to the members. It's useful
|
||||
for llvm-ar to extract them to their basename in the CWD, since usually the
|
||||
directories in the path in the archive won't exist during archive extraction.
|
||||
|
||||
Get a temp clean cwd to extract into.
|
||||
RUN: rm -rf %t && mkdir %t && cd %t
|
||||
|
||||
RUN: llvm-ar t %S/Inputs/absolute-paths.lib | FileCheck %s --check-prefix=CHECK-LIST
|
||||
CHECK-LIST: C:/src/llvm-project/build/dne/b.o
|
||||
CHECK-LIST: C:/src/llvm-project/build/dne/a.o
|
||||
|
||||
Check that a.o comes out and defines foo.
|
||||
RUN: llvm-ar x %S/Inputs/absolute-paths.lib 'C:/src/llvm-project/build/dne/a.o'
|
||||
RUN: llvm-nm a.o | FileCheck %s --check-prefix=CHECK-A
|
||||
CHECK-A: T foo
|
||||
|
||||
Check that b.o comes out and defines bar.
|
||||
RUN: llvm-ar x %S/Inputs/absolute-paths.lib C:/src/llvm-project/build/dne/b.o
|
||||
RUN: llvm-nm b.o | FileCheck %s --check-prefix=CHECK-B
|
||||
CHECK-B: T bar
|
Reference in New Issue
Block a user