[PATCH] D57160: [WebAssembly] Add an import_module function attribute

Dan Gohman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 24 08:18:13 PST 2019


sunfish created this revision.
sunfish added reviewers: sbc100, dschuff, aheejin.
Herald added subscribers: llvm-commits, jgravelle-google.

This adds a C/C++ attribute which corresponds to the LLVM IR wasm-import-module attribute. It allows code to specify an explicit import module.


Repository:
  rL LLVM

https://reviews.llvm.org/D57160

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  lib/CodeGen/TargetInfo.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/wasm-import-module.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57160.183322.patch
Type: text/x-patch
Size: 5219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190124/f3f36df4/attachment.bin>


More information about the cfe-commits mailing list