llvm/tools/llvm-ar
Rafael Espindola 51392a079e Replace archive members in the old position.
This matches gnu archive behavior and since archive member order can change
which member is used, not changing the order on replacement looks like the
right thing to do.

This patch also refactors the logic for which archive member to keep and
whether to move it to a helper function (computeInsertAction). The
nesting in computeNewArchiveMembers was getting a bit confusing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186829 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-22 15:11:51 +00:00
..
CMakeLists.txt Change llvm-ar to use lib/Object. 2013-07-12 20:21:39 +00:00
llvm-ar.cpp Replace archive members in the old position. 2013-07-22 15:11:51 +00:00
LLVMBuild.txt Move lib/Archive to tools/llvm-ar. 2013-06-17 15:47:20 +00:00
Makefile fix autoconf build 2013-07-12 20:45:01 +00:00