llvm-capstone/lld/wasm
Rui Ueyama 4a1b2bbc88 [WebAssembly] Do not use inheritance to define SubSection.
SubSection inherited from SyntheticSection, and SyntheticSection inherits
from OutputSection, so SubSection was an OutputSection. But that's wrong
because SubSection is not actually a WebAssembly output section.
It shares some functionalities with OutputSection, but overall it's very
different.

This patch removes that inheritance.

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

llvm-svn: 326286
2018-02-28 00:52:42 +00:00
..
CMakeLists.txt [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
Config.h [WebAssembly] Refactor linker-generated symbols. NFC. 2018-02-02 22:59:56 +00:00
Driver.cpp [WebAssembly] Do not use default arguments for SymbolTable. 2018-02-28 00:37:03 +00:00
InputChunks.cpp [WebAssembly] Add explicit symbol table 2018-02-23 05:08:53 +00:00
InputChunks.h [WebAssembly] Remove trivial accessors. 2018-02-28 00:20:29 +00:00
InputFiles.cpp [WebAssembly] Refactor ObjFile::initializeSymbols. 2018-02-28 00:50:54 +00:00
InputFiles.h [WebAssembly] Refactor ObjFile::initializeSymbols. 2018-02-28 00:50:54 +00:00
InputGlobal.h [WebAssembly] Add explicit symbol table 2018-02-23 05:08:53 +00:00
MarkLive.cpp [WebAssembly] Add explicit symbol table 2018-02-23 05:08:53 +00:00
MarkLive.h Consistent (non) use of empty lines in include blocks 2018-02-20 21:53:18 +00:00
Options.td [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
OutputSections.cpp [WebAssembly] Do not use inheritance to define SubSection. 2018-02-28 00:52:42 +00:00
OutputSections.h [WebAssembly] Do not use inheritance to define SubSection. 2018-02-28 00:52:42 +00:00
OutputSegment.h [WebAssembly] Remove trivial accessors. 2018-02-28 00:20:29 +00:00
Symbols.cpp [WebAssembly] Remove trivial accessors. 2018-02-28 00:20:29 +00:00
Symbols.h [WebAssembly] Remove LastDefinedKind for consistency with undefined kinds. NFC. 2018-02-28 00:16:11 +00:00
SymbolTable.cpp [WebAssembly] Separate addUndefined into addUndefined{Function,Data,Global}. 2018-02-28 00:09:22 +00:00
SymbolTable.h [WebAssembly] Do not use default arguments for SymbolTable. 2018-02-28 00:37:03 +00:00
Writer.cpp [WebAssembly] Do not use inheritance to define SubSection. 2018-02-28 00:52:42 +00:00
Writer.h
WriterUtils.cpp [WebAssembly] Add explicit symbol table 2018-02-23 05:08:53 +00:00
WriterUtils.h [WebAssembly] Add explicit symbol table 2018-02-23 05:08:53 +00:00