aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2020-05-08 16:19:46 -0700
committerHeejin Ahn <aheejin@gmail.com>2020-05-19 01:16:09 -0700
commitd94bacbcf87a06abc0c1fc3405406399460debc3 (patch)
tree11aabc6272b612a34e3d555ce2e40c3a896c51bf /llvm/lib/Target/TargetLoweringObjectFile.cpp
parent51bb2128ef03985fddf2a84f17d3276f4ae2c6ad (diff)
downloadllvm-d94bacbcf87a06abc0c1fc3405406399460debc3.zip
llvm-d94bacbcf87a06abc0c1fc3405406399460debc3.tar.gz
llvm-d94bacbcf87a06abc0c1fc3405406399460debc3.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions