[PATCH] D13286: [ELF2] Add --[no-]whole-archive command line switches

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 06:06:26 PDT 2015


ikudrin created this revision.
ikudrin added reviewers: rafael, ruiu.
ikudrin added a subscriber: llvm-commits.
ikudrin added a project: lld.

If --whole-archive is used, all symbols from the following archives are added to the output. --no-whole-archive restores default behavior. These switches can be used multiple times.

http://reviews.llvm.org/D13286

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/Options.td
  ELF/SymbolTable.cpp
  test/elf2/Inputs/whole-archive.s
  test/elf2/whole-archive.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13286.36091.patch
Type: text/x-patch
Size: 7485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150930/efe2deda/attachment.bin>


More information about the llvm-commits mailing list