]> granicus.if.org Git - llvm/commit
Add the ExceptionHandling::MSVC enumeration
authorReid Kleckner <reid@kleckner.net>
Fri, 19 Dec 2014 22:19:48 +0000 (22:19 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 19 Dec 2014 22:19:48 +0000 (22:19 +0000)
commit0f85d54670a238d3723d4cf65e6b12138a113b76
tree2a7e97911930895c68277cb05fccaad8c4ab2de2
parent9ccbf1a260abb455df3c27cc1e656542887ab578
Add the ExceptionHandling::MSVC enumeration

It is intended to be used for a family of personality functions that
have similar IR preparation requirements. Typically when interoperating
with MSVC personality functions, bits of functionality need to be
outlined from the main function into helper functions. There is also
usually more than one landing pad per invoke, which does not match the
LLVM IR landingpad representation.

None of this is implemented yet. This change just adds a new enum that
is active for *-windows-msvc and delegates to the EH removal preparation
pass.  No functionality change for other targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224625 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/EHStreamer.cpp
lib/CodeGen/Passes.cpp
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/fast-isel-cmp-branch.ll
test/CodeGen/X86/fast-isel-gep.ll
test/CodeGen/X86/scev-interchange.ll
test/CodeGen/X86/win64_eh.ll