[llvm-dev] Issues to implement a backend

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Sun May 12 23:41:56 PDT 2019


Hi Zhiguo,

On Mon, 13 May 2019 at 02:47, GE ZHIGUO via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> “Fatal error: error in backend: WinEH not implemented for this  target”

This should only happen if you've deliberately opted into handling
exceptions the Windows way, possibly by copy/pasting an existing
implementation without realizing the implications?

There's not really any reason for anything except Windows to do that,
so look in your MCTargetDesc/XYZMCAsmInfo.cpp for where you set
ExceptionsType and change it to DwarfCFI instead.

Cheers.

Tim.


More information about the llvm-dev mailing list