diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-09-26 19:04:42 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-09-26 19:04:42 +0000 |
commit | a213e6b6f55806a5133d99b7b6e106fc6d624590 (patch) | |
tree | 8cbed4bae6cbb7b85e7648d49ad2dc9023d0bef6 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | abb6eea19ce3be886121d1c1c7116f6a4ced7caf (diff) | |
download | bcm5719-llvm-a213e6b6f55806a5133d99b7b6e106fc6d624590.tar.gz bcm5719-llvm-a213e6b6f55806a5133d99b7b6e106fc6d624590.zip |
[ELF] - Fix for: Bug 30521 - lld exits non-zero return value linking a library with no entry symbol
PR30521 was about linking shared library. After r282295 code when linking -shared produced
"entry symbol not found" warning, what in combination with --fatal-errors failed linkage.
Patch fixes logic (and adds testcases) to follow next rules:
1) If entry was specified and not found report warning.
2) If entry was not specified then:
a) Emit warning if not -shared.
b) Do not emit warning if -shared.
Differential revision: https://reviews.llvm.org/D24913
llvm-svn: 282427
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions