Rui Ueyama
ac95bb1d52
[WebAssembly] Remove another trivial accessor.
...
Differential Revision: https://reviews.llvm.org/D43725
llvm-svn: 329336
2018-04-05 19:37:31 +00:00
Rui Ueyama
28f3b20db5
[WebAssembly] Remove trivial accessors.
...
{set,get}OutputSegment don't hide anything, so remove them.
Differential Revision: https://reviews.llvm.org/D43724
llvm-svn: 326276
2018-02-28 00:20:29 +00:00
Sam Clegg
9310297438
[WebAssembly] Add explicit symbol table
...
This change modified lld to in response the llvm change which
moved to a more explicit symbol table in the object format.
Based on patches by Nicholas Wilson:
1. https://reviews.llvm.org/D41955
2. https://reviews.llvm.org/D42585
The primary difference that we see in the test output is that
for relocatable (-r) output we now have symbol table which
replaces exports/imports and globals.
See: https://github.com/WebAssembly/tool-conventions/issues/38
Differential Revision: https://reviews.llvm.org/D43264
llvm-svn: 325861
2018-02-23 05:08:53 +00:00
Sam Clegg
f98bccf06f
Revert "[WebAssembly] Move checking of InputSegment comdat group earlier"
...
This reverts commit 7421eab7ccf2e14518f4526a084a5afc76ac9c6a.
llvm-svn: 322441
2018-01-13 15:57:48 +00:00
Sam Clegg
7c11dbf5b0
[WebAssembly] Move checking of InputSegment comdat group earlier
...
This should also fixe an unused varaible warning in the realeae
build.
llvm-svn: 322440
2018-01-13 15:44:54 +00:00
Sam Clegg
5fa274bea4
[WebAssembly] Add InputChunk as common base class for InputSegment and InputFunction. NFC.
...
Differential Revision: https://reviews.llvm.org/D41419
llvm-svn: 322148
2018-01-10 01:13:34 +00:00
Sam Clegg
5e8cba9e39
[WebAssembly] Apply data relocations in parallel. NFC.
...
Store data relocations with their respective segment.
This allows relocations to be applied as each segment
is written (and therefore in parallel).
Differential Revision: https://reviews.llvm.org/D41410
llvm-svn: 321105
2017-12-19 20:45:15 +00:00
Sam Clegg
a43c16157d
[WebAssembly] Remove extra semicolon. NFC.
...
llvm-svn: 320777
2017-12-15 00:34:32 +00:00
David Blaikie
c004ffcd42
wasm/OutputSegment.h: Include missing header
...
llvm-svn: 318879
2017-11-22 21:10:17 +00:00
Sam Clegg
c94d393ad5
[WebAssembly] Initial wasm linker implementation
...
This linker backend is still a work in progress but is
enough to link simple programs including linking against
library archives.
Differential Revision: https://reviews.llvm.org/D34851
llvm-svn: 318539
2017-11-17 18:14:09 +00:00