hanchenye-llvm-project/lld/wasm
Sam Clegg cf2b8722d4 [WebAssembly][lld] Fix crash when applying relocations to debug sections
Debug sections are special in that they can contain relocations against
symbols that are not present in the final output (i.e. not live).
However it is also possible to have R_WASM_TABLE_INDEX relocations
against symbols that don't have a table index assigned (since they are
not address taken by actual code.

Fixes: https://github.com/emscripten-core/emscripten/issues/9023

Differential Revision: https://reviews.llvm.org/D66435

llvm-svn: 369423
2019-08-20 18:39:24 +00:00
..
CMakeLists.txt [WebAssembly] Refactor synthetic sections and relocation processing. NFC. 2019-05-21 09:13:09 +00:00
Config.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
Driver.cpp [lld][WebAssembly] Honor --no-export-dynamic even with -shared 2019-08-19 16:34:51 +00:00
InputChunks.cpp [WebAssembly][lld] Fix crash when applying relocations to debug sections 2019-08-20 18:39:24 +00:00
InputChunks.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
InputEvent.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
InputFiles.cpp [WebAssembly][lld] Fix crash when applying relocations to debug sections 2019-08-20 18:39:24 +00:00
InputFiles.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
InputGlobal.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
LTO.cpp [LLD] Migrate llvm::make_unique to std::make_unique 2019-08-14 22:28:17 +00:00
LTO.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
MarkLive.cpp [WebAssembly] Rename variale references in comments after VariableName -> variableName change 2019-07-16 08:08:17 +00:00
MarkLive.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Options.td [WebAssembly] Use passive segments by default when memory is shared 2019-07-18 21:50:24 +00:00
OutputSections.cpp [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
OutputSections.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
OutputSegment.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
Relocations.cpp [lld][WebAssembly] Allow linking of pic code into static binaries 2019-08-13 17:02:02 +00:00
Relocations.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
SymbolTable.cpp [lld][WebAssembly] Add optional symbols after input file handling 2019-08-08 16:58:36 +00:00
SymbolTable.h [lld][WebAssembly] Add optional symbols after input file handling 2019-08-08 16:58:36 +00:00
Symbols.cpp [lld][WebAssembly] Allow linking of pic code into static binaries 2019-08-13 17:02:02 +00:00
Symbols.h [lld][WebAssembly] Allow linking of pic code into static binaries 2019-08-13 17:02:02 +00:00
SyntheticSections.cpp [lld][WebAssembly] Allow linking of pic code into static binaries 2019-08-13 17:02:02 +00:00
SyntheticSections.h [lld][WebAssembly] Allow linking of pic code into static binaries 2019-08-13 17:02:02 +00:00
Writer.cpp [lld][WebAssembly] Allow linking of pic code into static binaries 2019-08-13 17:02:02 +00:00
Writer.h [WebAssembly] Refactor synthetic sections and relocation processing. NFC. 2019-05-21 09:13:09 +00:00
WriterUtils.cpp [WebAssembly] Rename except_ref type to exnref 2019-07-15 22:49:25 +00:00
WriterUtils.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00