llvm-project/lld/wasm
Sam Clegg 8f6d2def2b [WebAssembly] Write minimal types section
Don't include type signatures that are not referenced by
some relocation.

We don't include this in the -gc-sections settings since
we are always building the type section from scratch,
just like we do the table elements.

In the future we might want to unify the relocation
processing which is currently done once for gc-sections
and then again for building the sympathetic type and
table sections.

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

llvm-svn: 323931
2018-01-31 23:48:14 +00:00
..
CMakeLists.txt [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
Config.h [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
Driver.cpp [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
InputChunks.cpp [WebAssembly] Add getName and getFileName methods to InputChunk base class. NFC. 2018-01-28 19:57:03 +00:00
InputChunks.h [WebAssembly] Write minimal types section 2018-01-31 23:48:14 +00:00
InputFiles.cpp [WebAssembly] Write minimal types section 2018-01-31 23:48:14 +00:00
InputFiles.h [WebAssembly] Write minimal types section 2018-01-31 23:48:14 +00:00
MarkLive.cpp [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
MarkLive.h [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
Options.td [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
OutputSections.cpp [WebAssembly] Move relocation handling InputChunks.cpp 2018-01-10 19:22:42 +00:00
OutputSections.h [WebAssembly] Add InputChunk as common base class for InputSegment and InputFunction. NFC. 2018-01-10 01:13:34 +00:00
OutputSegment.h Revert "[WebAssembly] Move checking of InputSegment comdat group earlier" 2018-01-13 15:57:48 +00:00
SymbolTable.cpp clang format 2018-01-28 19:57:02 +00:00
SymbolTable.h clang format 2018-01-28 19:57:02 +00:00
Symbols.cpp clang format 2018-01-28 19:57:02 +00:00
Symbols.h clang format 2018-01-28 19:57:02 +00:00
Writer.cpp [WebAssembly] Write minimal types section 2018-01-31 23:48:14 +00:00
Writer.h
WriterUtils.cpp [WebAssembly] Update to match llvm change rL323901. NFC 2018-01-31 19:54:34 +00:00
WriterUtils.h [WebAssembly] Update to match llvm change rL323901. NFC 2018-01-31 19:54:34 +00:00