Sam Clegg
8cbfbd6d12
[WebAssembly] MC: Use inline triple in test bitcode files
...
This matches the CodeGen tests and makes it a little easy
to run these from the command line manually.
Differential Revision: https://reviews.llvm.org/D42440
llvm-svn: 323275
2018-01-23 23:03:47 +00:00
Sam Clegg
68b425f0bf
[WebAssembly] Remove "name" section of object wasm object files
...
LLD is unaffected, no changes needed there. LLD continues to
write out a name section, using the symbol names.
Fixes: https://github.com/WebAssembly/tool-conventions/issues/37
Patch by Nicholas Wilson!
Differential Revision: https://reviews.llvm.org/D42425
llvm-svn: 323234
2018-01-23 18:30:04 +00:00
Sam Clegg
d423f0d290
[WebAssemlby] MC: Don't write COMDAT symbols as global imports
...
This was causing undefined references at link time in lld.
Differential Revision: https://reviews.llvm.org/D41959
llvm-svn: 322309
2018-01-11 20:35:17 +00:00
Sam Clegg
ea7caceedc
[WebAssembly] Add COMDAT support
...
This adds COMDAT support to the Wasm object-file format.
Spec: https://github.com/WebAssembly/tool-conventions/pull/31
Corresponding LLD change:
https://bugs.llvm.org/show_bug.cgi?id=35533 , and D40845
Patch by Nicholas Wilson
Differential Revision: https://reviews.llvm.org/D40844
llvm-svn: 322135
2018-01-09 23:43:14 +00:00