OSDN Git Service

[llvm-ar] Extract objects to their basename in the CWD
authorReid Kleckner <rnk@google.com>
Fri, 31 Mar 2017 21:10:53 +0000 (21:10 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 31 Mar 2017 21:10:53 +0000 (21:10 +0000)
commit761a817d0608cc9af9c1f73df0c69b514266c8f1
treea547d81db6df480e78c3d6f698a8320b1dac6286
parentcba91e6d224e8dc2e80d4c2d792324c76a57b626
[llvm-ar] Extract objects to their basename in the CWD

This is helpful when extracting objects from archives produced by MSVC's
lib.exe, which users absolute paths to describe the archive members.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299264 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-ar/Inputs/absolute-paths.lib [new file with mode: 0644]
test/tools/llvm-ar/absolute-paths.test [new file with mode: 0644]
tools/llvm-ar/llvm-ar.cpp