[llvm-dev] lld/lto/win32 crash on DIE code

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 20 01:04:27 PDT 2018



Op 16-3-2018 om 20:16 schreef Evgeny Leviant:
> Hello Carlo,
> 
> I tried your reproducer and faced different problem from one you described
> (I'm using MacOS Sierra and lld built from trunk on Mar, 15). The crash happens
> when SelectionDAGBuilder::lowerInvokable tries to access EH info of this function:
> 
> ms_t26_RemObjects_d_Elements_d_EUnit_d_Runnerb_RunChildrennt2a_RemObjects_d_Elements_d_EUnit_d_RunContext
> 
> This happens because LLVM doesn't know your personality function (@_elements_exception_handler), so I suggest looking
> at llvm::classifyEHPersonality function as well.
> 

hi,

I've updated my testcase
https://www.dropbox.com/s/ugv9sfqouhlszff/repro.tar?dl=0

to use the standard exception handler. Now it fails with llvm-6.0 from 
the website exactly the same as it does with my custom build.


More information about the llvm-dev mailing list