]> granicus.if.org Git - llvm/commit
[llvm-ar] Implement the O modifier: display member offsets inside the archive
authorFangrui Song <maskray@google.com>
Thu, 17 Oct 2019 11:34:29 +0000 (11:34 +0000)
committerFangrui Song <maskray@google.com>
Thu, 17 Oct 2019 11:34:29 +0000 (11:34 +0000)
commitdd84a1ead89b456bafd1012a717dda134c87aff7
tree2ea43381476bd46d9182fb331519e978ec421160
parent327f5f9ccd21e0a08b9957172f9f63cb0ee31e1b
[llvm-ar] Implement the O modifier: display member offsets inside the archive

Since GNU ar 2.31, the 't' operation prints member offsets beside file
names if the 'O' modifier is specified. 'O' is ignored for thin
archives.

Reviewed By: gbreynoo, ruiu

Differential Revision: https://reviews.llvm.org/D69087

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375106 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CommandGuide/llvm-ar.rst
include/llvm/Object/Archive.h
test/Object/archive-thin-create.test
test/Object/archive-toc.test
tools/llvm-ar/llvm-ar.cpp