diff options
author | Heejin Ahn <aheejin@gmail.com> | 2024-05-07 13:02:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 13:02:31 -0700 |
commit | dca3a6e562e012940c2b62a4d8dae3afec09caa4 (patch) | |
tree | 06c109663d42710df173752bc21a76414eff6405 /clang/lib/Tooling/Syntax/BuildTree.cpp | |
parent | 117bda523ea15510d2289020decabef57d89acc0 (diff) | |
download | llvm-dca3a6e562e012940c2b62a4d8dae3afec09caa4.zip llvm-dca3a6e562e012940c2b62a4d8dae3afec09caa4.tar.gz llvm-dca3a6e562e012940c2b62a4d8dae3afec09caa4.tar.bz2 |
[WebAssembly] Make EH depend on multivalue and reference-types (#91299)
This PR turns on multivalue and reference-types features when
exception-handling feature is turned on, and errors out when disabling
of those dependent features is explicitly requested.
I think doing this would be safe anyway regardless of whether or when we
end up turning on reference-types by default.
We currently don't yet have a experimental flag for the Clang and LLVM
for the new experimental EH yet. But I think it should be fine to turn
those features on even if the LLVM does not yet generate the new EH
instructions, for the same reason we tried to turn them on by default
and the browsers that support EH also support multivalue and
reference-types anyway.
Diffstat (limited to 'clang/lib/Tooling/Syntax/BuildTree.cpp')
0 files changed, 0 insertions, 0 deletions