llvm-project/lld/ELF
George Rimar e86dcd0cbd [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
2016-06-29 12:35:04 +00:00
..
CMakeLists.txt Create Strings.cpp and move string manipulation functions to that file. 2016-06-29 08:01:32 +00:00
Config.h [ELF] - Added support for --unresolved-symbols option. 2016-06-29 12:35:04 +00:00
Driver.cpp [ELF] - Added support for --unresolved-symbols option. 2016-06-29 12:35:04 +00:00
Driver.h Create version.txt in a reproduce archive file. 2016-06-06 15:34:37 +00:00
DriverUtils.cpp Create Strings.cpp and move string manipulation functions to that file. 2016-06-29 08:01:32 +00:00
EhFrame.cpp ELF: Handle empty CIE augmentation string 2016-05-25 14:45:28 +00:00
EhFrame.h Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
Error.cpp Print the cpio trailer after every member. 2016-05-04 12:47:56 +00:00
Error.h Print the cpio trailer after every member. 2016-05-04 12:47:56 +00:00
ICF.cpp Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00
ICF.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00
InputFiles.cpp [LTO] Infer ELFKind/EMachine from Bitcode files 2016-06-29 06:12:39 +00:00
InputFiles.h Refactor ELF type inference functions. 2016-06-29 01:30:50 +00:00
InputSection.cpp [ELF] - Support of compressed input sections implemented. 2016-06-24 11:18:44 +00:00
InputSection.h [ELF] - Support of compressed input sections implemented. 2016-06-24 11:18:44 +00:00
LTO.cpp [LTO] Update after API change in LLVM. NFC. 2016-06-22 19:51:05 +00:00
LTO.h [LTO] Include ASM undefs in llvm.compiler_used. 2016-06-22 18:09:23 +00:00
LinkerScript.cpp Create Strings.cpp and move string manipulation functions to that file. 2016-06-29 08:01:32 +00:00
LinkerScript.h Create Strings.cpp and move string manipulation functions to that file. 2016-06-29 08:01:32 +00:00
MarkLive.cpp Rename EHInputSection -> EhInputSection. 2016-05-24 04:19:20 +00:00
Options.td [ELF] - Added support for --unresolved-symbols option. 2016-06-29 12:35:04 +00:00
OutputSections.cpp Move isValidCIdentifier to Strings.cpp. 2016-06-29 09:08:02 +00:00
OutputSections.h [ELF][MIPS] Support MIPS TLS relocations 2016-06-23 15:26:31 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ELF][MIPS] Support MIPS TLS relocations 2016-06-23 15:26:31 +00:00
Relocations.h [ELF][MIPS] Support MIPS TLS relocations 2016-06-23 15:26:31 +00:00
ScriptParser.cpp Create Strings.cpp and move string manipulation functions to that file. 2016-06-29 08:01:32 +00:00
ScriptParser.h Create Strings.cpp and move string manipulation functions to that file. 2016-06-29 08:01:32 +00:00
Strings.cpp Move isValidCIdentifier to Strings.cpp. 2016-06-29 09:08:02 +00:00
Strings.h Move isValidCIdentifier to Strings.cpp. 2016-06-29 09:08:02 +00:00
SymbolListFile.cpp Handle empty versions. 2016-06-28 21:48:33 +00:00
SymbolListFile.h [ELF] - Forgot to address these two minors before commit r273152. NFC. 2016-06-20 13:22:54 +00:00
SymbolTable.cpp [ELF] - Check the input bitcode files for compatibility. 2016-06-29 09:46:00 +00:00
SymbolTable.h [ELF] Support for wildcard in version scripts. 2016-06-29 02:46:51 +00:00
Symbols.cpp [ELF] - Implemented support of default/non-default symbols versions 2016-06-28 08:21:10 +00:00
Symbols.h [ELF] - Implemented support of default/non-default symbols versions 2016-06-28 08:21:10 +00:00
Target.cpp [ELF][MIPS] Support MIPS TLS relocations 2016-06-23 15:26:31 +00:00
Target.h Remove default values that vary depending on target. 2016-06-16 23:50:25 +00:00
Writer.cpp [ELF] - Added support for --unresolved-symbols option. 2016-06-29 12:35:04 +00:00
Writer.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00

README.md

See docs/NewLLD.rst