Emit the Itanium LSDA for unknown EH personalities on Win64
authorReid Kleckner <reid@kleckner.net>
Wed, 14 Jan 2015 18:50:10 +0000 (18:50 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 14 Jan 2015 18:50:10 +0000 (18:50 +0000)
commit4350881a94cdd3b4a079baaf851c5a19b09856eb
treed7549abe8ef6838ef8e282eae425cc7b8e5a10eb
parent983125f9b49062cfa26be02148426d77a42fcecb
Emit the Itanium LSDA for unknown EH personalities on Win64

This fixes lots of generic CodeGen tests that use __gcc_personality_v0.
This suggests that using ExceptionHandling::MSVC was a mistake, and we
should instead classify each function by personality function. This
would, for example, allow us to LTO a binary containing uses of SEH and
Itanium EH.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226019 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/Win64Exception.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp