summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-01-16 14:27:01 +0000
committerRui Ueyama <ruiu@google.com>2015-01-16 14:27:01 +0000
commitfa7e8a663f8524af3d36f91cd402aa9fdfc91047 (patch)
tree72e94f4a9f1c9975373802d096acd3f4f7afbd98 /clang/lib/CodeGen/CodeGenModule.cpp
parent4286a9bd5aacc76419716be819fe87eaa5727b62 (diff)
downloadbcm5719-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 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud