diff options
author | Sam Clegg <sbc@chromium.org> | 2018-04-05 17:01:39 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-04-05 17:01:39 +0000 |
commit | cfd44a2e69fa0897d944bc66ca517a7d079c135d (patch) | |
tree | 7a03e934632933b10627dd65ec270a9233269d68 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | bc4987b8779ebda37e21908d8e91587a9b19cb30 (diff) | |
download | llvm-cfd44a2e69fa0897d944bc66ca517a7d079c135d.zip llvm-cfd44a2e69fa0897d944bc66ca517a7d079c135d.tar.gz llvm-cfd44a2e69fa0897d944bc66ca517a7d079c135d.tar.bz2 |
[WebAssembly] Allow for the creation of user-defined custom sections
This patch adds a way for users to create their own custom sections to
be added to wasm files. At the LLVM IR layer, they are defined through
the "wasm.custom_sections" named metadata. The expected use case for
this is bindings generators such as wasm-bindgen.
Patch by Dan Gohman
Differential Revision: https://reviews.llvm.org/D45297
llvm-svn: 329315
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions