[PATCH] D150803: [WebAssembly] Add a new `wasm_async` clang attribute for marking async functions.
Brendan Dahl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 11:34:00 PDT 2023
brendandahl updated this revision to Diff 531008.
brendandahl added a comment.
After some feedback, a few people have indicated they'd like to do something similar to this, but for their own attributes. I've changed to a more generic attribute that allows arbitrary strings. Now a custom section will be created for each unique attribute.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150803/new/
https://reviews.llvm.org/D150803
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/WebAssembly/wasm-custom-attr.c
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/Sema/attr-wasm-custom.c
clang/test/Sema/wasm-custom-support.c
lld/test/wasm/custom-attr.s
lld/test/wasm/custom-undefine.s
lld/test/wasm/merge-custom-attr-section.ll
lld/wasm/InputChunks.cpp
lld/wasm/InputFiles.cpp
llvm/include/llvm/BinaryFormat/WasmRelocs.def
llvm/include/llvm/MC/MCExpr.h
llvm/lib/MC/MCExpr.cpp
llvm/lib/MC/WasmObjectWriter.cpp
llvm/lib/Object/WasmObjectFile.cpp
llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
llvm/test/CodeGen/WebAssembly/custom-attr.ll
llvm/test/MC/WebAssembly/custom-attr.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150803.531008.patch
Type: text/x-patch
Size: 19365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230613/8301e8a7/attachment-0001.bin>
More information about the cfe-commits
mailing list