mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
50ba8ebd35
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. llvm-svn: 256001
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
|