[PATCH] Add -l option to llvm-link and allow linking by resolving symbols

Stanislav Mekhanoshin stanislav.mekhanoshin at amd.com
Tue Apr 22 15:23:51 PDT 2014


Hi arsenm,

Currently llvm-link composes a target module by concatenation of all its input files. This change adds an option -l and ability to link in unresolved symbols only. If a module is specified without -l flag (as before) it will be linked in as a whole (as before).

http://reviews.llvm.org/D3459

Files:
  include/llvm/Linker/Linker.h
  include/llvm/Linker/ResolveLinker.h
  lib/Linker/CMakeLists.txt
  lib/Linker/LinkModules.cpp
  lib/Linker/ResolveLinker.cpp
  tools/llvm-link/llvm-link.cpp

REPLY HANDLER ACTIONS
  Reply to comment, or !reject, !abandon, !reclaim, !resign, !rethink, !unsubscribe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3459.8748.patch
Type: text/x-patch
Size: 23090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140422/43dc4d01/attachment.bin>


More information about the llvm-commits mailing list