[SEH] Don't assert if the parent function lacks a personality
authorReid Kleckner <reid@kleckner.net>
Wed, 1 Jul 2015 16:45:47 +0000 (16:45 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 1 Jul 2015 16:45:47 +0000 (16:45 +0000)
commitf80636682ce2b1588ba3e04fa4ebfd00adac969a
treedbd3df25100d09a3911a1b4fd84bc51e36d6035e
parent286d466097d445b66be8453596fd3e128e37dc9a
[SEH] Don't assert if the parent function lacks a personality

The EH code might have been deleted as unreachable and the personality
pruned while the filter is still present.  Currently I'm hitting this at
-O0 due to the clang bug PR24009.

llvm-svn: 241170
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/seh-filter-no-personality.ll [new file with mode: 0644]