diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-01-16 14:27:01 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-01-16 14:27:01 +0000 |
| commit | fa7e8a663f8524af3d36f91cd402aa9fdfc91047 (patch) | |
| tree | 72e94f4a9f1c9975373802d096acd3f4f7afbd98 /llvm/lib/Target/TargetLoweringObjectFile.cpp | |
| parent | 4286a9bd5aacc76419716be819fe87eaa5727b62 (diff) | |
| download | bcm5719-llvm-fa7e8a663f8524af3d36f91cd402aa9fdfc91047.tar.gz bcm5719-llvm-fa7e8a663f8524af3d36f91cd402aa9fdfc91047.zip | |
[ELF] Add --as-needed.
The previous default behavior of LLD is --as-needed. LLD linked
against a DSO only if the DSO file was actually used to link an
executable (i.e. at least one symbol was resolved using the shared
library file.)
In this patch I added a boolean flag to FileNode for --as-needed.
I also added an accessor to DSO name to shared library file class.
llvm-svn: 226274
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

