summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-03-19 16:09:54 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-03-19 16:09:54 +0000
commit4a6b9f23166af72549509348be7acee248a46311 (patch)
tree663691952eb924369ba917f13b5e0a1a7e273fd2 /llvm/lib/Analysis/ValueTracking.cpp
parent00e063ab92345a00fe89b27c857ceaa281077166 (diff)
downloadbcm5719-llvm-4a6b9f23166af72549509348be7acee248a46311.tar.gz
bcm5719-llvm-4a6b9f23166af72549509348be7acee248a46311.zip
[llvm-ar] Support N [count] modifier
Summary: GNU ar supports the 'N' count modifier for the extract (x) and delete (d) operations. When an archive contains multiple members with the same name, this can be used to extract (or delete) them individually. For example: ``` $ llvm-ar t archive.a foo foo $ llvm-ar x archive.a -> Writes foo twice, overwriting it the second time :( :( $ llvm-ar xN 1 archive.a foo && mv foo foo.1 $ llvm-ar xN 2 archive.a foo && mv foo foo.2 -> Write foo twice, renaming it in between invocations to preserve all versions ``` Reviewers: ruiu, MaskRay Reviewed By: ruiu, MaskRay Subscribers: jdoerfert, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59503 llvm-svn: 356466
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud