[PATCH] D48413: [llvm-objcopy] Add initial support for static libraries

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 28 03:59:27 PDT 2018


alexshap added inline comments.


================
Comment at: test/tools/llvm-objcopy/basic-archive-copy.test:12-13
+# RUN: llvm-readobj -sections %t2 | FileCheck %s
+# RUN: llvm-nm -print-armap %t.a | FileCheck --check-prefix=INDEX-TABLE %s
+# RUN: llvm-nm -print-armap %t2.a | FileCheck --check-prefix=INDEX-TABLE %s
+
----------------
jhenderson wrote:
> Aside: print-armap is not in the llvm-nm documentation. From my understanding, it's a way to check the archive members and their symbols?
i guess llvm-nm docs are simply outdated so this option (and many others btw) is not listed there (i assume you are talking about https://llvm.org/docs/CommandGuide/llvm-nm.html )
binutils docs (please, open the both links and search for --print-armap):

https://sourceware.org/binutils/docs/binutils/ar-cmdline.html

https://sourceware.org/binutils/docs/binutils/nm.html



https://reviews.llvm.org/D48413





More information about the llvm-commits mailing list