diff options
author | Rui Ueyama <ruiu@google.com> | 2016-04-07 19:24:51 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-04-07 19:24:51 +0000 |
commit | f8baa6605674e1a1ff3fd60b750e42291a4442c5 (patch) | |
tree | fa77552d5ac507bcbf461c7cfb662c5527616a59 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 43b7b5b846e17011e94569bf76e25beada30ca56 (diff) | |
download | bcm5719-llvm-f8baa6605674e1a1ff3fd60b750e42291a4442c5.tar.gz bcm5719-llvm-f8baa6605674e1a1ff3fd60b750e42291a4442c5.zip |
ELF: Implement --start-lib and --end-lib
start-lib and end-lib are options to link object files in the same
semantics as archive files. If an object is in start-lib and end-lib,
the object is linked only when the file is needed to resolve
undefined symbols. That means, if an object is in start-lib and end-lib,
it behaves as if it were in an archive file.
In this patch, I introduced a new notion, LazyObjectFile. That is
analogous to Archive file type, but that works for a single object
file instead of for an archive file.
http://reviews.llvm.org/D18814
llvm-svn: 265710
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions