Initial check in that will auto-upgrade the old EH scheme to the new EH scheme.
authorBill Wendling <isanbard@gmail.com>
Thu, 25 Aug 2011 23:22:40 +0000 (23:22 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 25 Aug 2011 23:22:40 +0000 (23:22 +0000)
commitc82a61c6c611857e47c3d6c6dbd069c27cd6d0f2
treeddd8ef56022f1b85388b96bd186ecf5bf42e2af9
parentf1a264232c4ae7b39f320bbcd61ac0f39224c285
Initial check in that will auto-upgrade the old EH scheme to the new EH scheme.

This upgrade suffers from the problems of the old EH scheme - i.e., that the
calls to llvm.eh.exception() and llvm.eh.selector() can wander off and get
lost. It makes a valiant effort to reclaim these little lost lambs.

This is a first draft, so it hasn't yet been hooked up to the parser.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138602 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/AutoUpgrade.h
lib/VMCore/AutoUpgrade.cpp