[all-commits] [llvm/llvm-project] 1f9e55: [WebAssembly] Do not use EHCatchret symbols with w...
Derek Schuff via All-commits
all-commits at lists.llvm.org
Wed Feb 17 11:23:51 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f9e551a811a4520cc6a3387b53d3cd568531697
https://github.com/llvm/llvm-project/commit/1f9e551a811a4520cc6a3387b53d3cd568531697
Author: Derek Schuff <dschuff at chromium.org>
Date: 2021-02-17 (Wed, 17 Feb 2021)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/test/CodeGen/WebAssembly/exception.ll
Log Message:
-----------
[WebAssembly] Do not use EHCatchret symbols with wasm EH
D94835 added support for WinEH to export public symbols pointing to
basic blocks which are catchret targets for use with Windows CET.
Wasm currently doesn't support public symbols to non-function code
addresses (they get treated like new functions in asm but then don't
lower to object files correctly).
It created them unconditionally for all catchret targets.
This change disables those symbols unless the exceptionHandlingType
is WinEH (since they aren't used with ExceptionHandling::Wasm)
Differential Revision: https://reviews.llvm.org/D96824
More information about the All-commits
mailing list