llvm-project/lld/ELF
George Rimar 678bd05740 [ELF] - Fixed crash on invalid input.
I took the input from https://llvm.org/bugs/show_bug.cgi?id=30540, it was
"id_000000,sig_11,src_000000,op_flip1,pos_98"

File contains invalid symbol name offset (too large) and lld just crashes,
patch fixes the issue.

Differential revision: https://reviews.llvm.org/D24970

llvm-svn: 282709
2016-09-29 11:10:40 +00:00
..
CMakeLists.txt [ELF] Add support for -b binary 2016-09-09 22:08:04 +00:00
Config.h [ELF] Support -z max-page-size option 2016-09-28 15:20:47 +00:00
Driver.cpp [ELF] Support -z max-page-size option 2016-09-28 15:20:47 +00:00
Driver.h Remove unused #includes. 2016-09-29 01:45:22 +00:00
DriverUtils.cpp COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
ELFCreator.cpp Add comments. 2016-09-12 21:44:29 +00:00
ELFCreator.h [ELF] Add support for -b binary 2016-09-09 22:08:04 +00:00
EhFrame.cpp [ELF] Allow arbitrary code alignment in .eh_frame 2016-07-29 04:41:38 +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 Delete dead code. 2016-07-18 18:24:41 +00:00
Error.h Add comments. 2016-09-29 01:26:48 +00:00
ICF.cpp Simplify InputFile ownership management. 2016-09-14 00:05:51 +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 Use InputFile::Symbol instead of auto for consistency. 2016-09-29 00:58:10 +00:00
InputFiles.h [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
InputSection.cpp Don't GC non-alloc mergeable section pieces 2016-09-29 10:27:10 +00:00
InputSection.h Store an ArrayRef for Data in InputSectionData. 2016-09-12 13:13:53 +00:00
LTO.cpp Remove unused #includes. 2016-09-29 01:45:22 +00:00
LTO.h Attempt to fix Windows buildbots. 2016-09-29 01:59:03 +00:00
LinkerScript.cpp [ELF] Support -z max-page-size option 2016-09-28 15:20:47 +00:00
LinkerScript.h [ELF] - Linkerscript: implemented BYTE/SHORT/LONG/QUAD commands. 2016-09-26 19:22:50 +00:00
MarkLive.cpp Don't GC non-alloc mergeable section pieces 2016-09-29 10:27:10 +00:00
Mips.cpp Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
Options.td [ELF] - Implemented --sort-section cmd line option and SORT_NONE script command. 2016-09-16 20:21:55 +00:00
OutputSections.cpp Use xxhash for fast --build-id. 2016-09-27 16:43:49 +00:00
OutputSections.h [ELF] Change the way we compute file offsets 2016-09-29 09:20:33 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ARM] ARM TLS shouldn't use relaxations 2016-09-23 13:54:48 +00:00
Relocations.h Delete dead field. NFC. 2016-09-07 20:37:34 +00:00
ScriptParser.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
ScriptParser.h Remove dead ctor. 2016-07-30 00:13:30 +00:00
Strings.cpp [ELF] - Linkerscript: implemented SORT_BY_INIT_PRIORITY. 2016-09-15 19:15:12 +00:00
Strings.h Fix old copy-n-paste errors. 2016-09-15 22:26:07 +00:00
SymbolListFile.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
SymbolListFile.h [ELF] - Remove VersionScriptParser class and move the members to ScriptParser 2016-08-31 09:08:26 +00:00
SymbolTable.cpp [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
SymbolTable.h [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
Symbols.cpp [ELF] Do not adjust TLS symbol value when produce relocatable object 2016-09-14 16:26:19 +00:00
Symbols.h [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
Target.cpp [ELF] Use MaxPageSize for aligning PT_LOAD 2016-09-28 00:09:20 +00:00
Target.h [ELF] Set MAXPAGESIZE to 2MiB on x86-64 to match bfd and gold. 2016-08-17 02:10:51 +00:00
Thunks.cpp Sign extend a value before passing it to the Target. 2016-09-01 13:52:52 +00:00
Thunks.h Attempt to fix buildbots. 2016-07-09 23:02:37 +00:00
Writer.cpp [ELF] - Fixed crash on invalid input. 2016-09-29 11:10:40 +00:00
Writer.h Linker script: implement AT [ (address) ] for PHDR 2016-09-09 09:46:16 +00:00

README.md

See docs/NewLLD.rst