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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Paths
| Differential D57160
[WebAssembly] Add an import_module function attribute ClosedPublic Authored by sunfish on Jan 24 2019, 8:18 AM.
Details Summary 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.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, jgravelle-google. · View Herald TranscriptJan 24 2019, 8:18 AM This revision is now accepted and ready to land.Jan 24 2019, 11:30 AM Closed by commit rC352106: [WebAssembly] Add an import_module function attribute (authored by djg). · Explain WhyJan 24 2019, 1:09 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 183378 include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/wasm-import-module.c
|