mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 04:28:40 +00:00
ec08d99fee
We always create archives with just he filename as the member name, but other archives can put a more complicated path in there. This patches handles it by computing just the filename as we do when adding a new member. If storing the path is important for some reason, we should probably have an orthogonal option for doing that and do it for both old and new members. Fixes pr25877. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256001 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
221 B
Plaintext
10 lines
221 B
Plaintext
; RUN: echo create %t.a > %t.mri
|
|
; RUN: echo addlib %p/Inputs/pr25877.lib >> %t.mri
|
|
; RUN: echo save >> %t.mri
|
|
; RUN: echo end >> %t.mri
|
|
|
|
; RUN: llvm-ar -M < %t.mri
|
|
; RUN: llvm-ar t %t.a | FileCheck %s
|
|
|
|
; CHECK: foo.obj
|