wasm.throw builtin's first 'tag' argument should be an immediate index
into the event section.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
LGTM; I wonder if it makes sense to have predefined macro for the C++ tag (or perhaps just a regular macro for use in libcxxabi?)
Comment Actions
Shouldn't the definition in BuiltinsWebAssembly.def be updated to include an 'I' in the type string so that this will be properly diagnosed in the frontend?
Comment Actions
The only place the throw builtin will be used in within __cxa_throw function in libcxxabi, so I guess some regular macro in libcxxabi would be fine.