[all-commits] [llvm/llvm-project] d94bac: [WebAssembly] Handle exception specifications
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Tue May 19 01:18:43 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d94bacbcf87a06abc0c1fc3405406399460debc3
https://github.com/llvm/llvm-project/commit/d94bacbcf87a06abc0c1fc3405406399460debc3
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2020-05-19 (Tue, 19 May 2020)
Changed paths:
M clang/docs/DiagnosticsReference.rst
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CGException.cpp
M clang/test/CodeGenCXX/wasm-eh.cpp
Log Message:
-----------
[WebAssembly] Handle exception specifications
Summary:
Wasm currently does not fully handle exception specifications. Rather
than crashing,
- This treats `throw()` in the same way as `noexcept`.
- This ignores and prints a warning for `throw(type, ..)`, for a
temporary measure. This warning is controlled by
`-Wwasm-exception-spec`, which is on by default. You can suppress the
warning by using `-Wno-wasm-exception-spec`.
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80061
More information about the All-commits
mailing list