diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-06-29 12:35:04 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-06-29 12:35:04 +0000 |
commit | e86dcd0cbd9ca30a3775b7453e9b36a9895be4f5 (patch) | |
tree | c6661f14450890b892f2f16b500502b02c9a8b69 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | e5b3aebfb5d130d0b405f7b57c102ddaf79f6e53 (diff) | |
download | bcm5719-llvm-e86dcd0cbd9ca30a3775b7453e9b36a9895be4f5.tar.gz bcm5719-llvm-e86dcd0cbd9ca30a3775b7453e9b36a9895be4f5.zip |
[ELF] - Added support for --unresolved-symbols option.
Option has next description (http://linux.die.net/man/1/ld):
"--unresolved-symbols=method
Determine how to handle unresolved symbols. There are four possible values for method
according to documentation:
ignore-all: Do not report any unresolved symbols.
report-all: Report all unresolved symbols. This is the default.
ignore-in-object-files: Report unresolved symbols that are contained in shared libraries, but ignore them if they come from regular object files.
ignore-in-shared-libs: Report unresolved symbols that come from regular object files, but ignore them if they come from shared libraries."
Since report-all is default and we traditionally do not report about undefined symbols in lld,
report-all does not report about undefines from DSO.
ignore-in-object-files also does not do that. Handling of that option differs from what gnu linkers do.
Option works in next way in lld:
ignore-all: Do not report any unresolved symbols.
report-all: Report all unresolved symbols except symbols from DSOs. This is the default.
ignore-in-object-files: The same as ignore-all.
gnore-in-shared-libs: The same as report-all.
This is PR24524.
Differential revision: http://reviews.llvm.org/D21794
llvm-svn: 274123
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions