diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-25 23:22:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-25 23:22:40 +0000 |
commit | c82a61c6c611857e47c3d6c6dbd069c27cd6d0f2 (patch) | |
tree | ddd8ef56022f1b85388b96bd186ecf5bf42e2af9 /include/llvm/AutoUpgrade.h | |
parent | f1a264232c4ae7b39f320bbcd61ac0f39224c285 (diff) | |
download | llvm-c82a61c6c611857e47c3d6c6dbd069c27cd6d0f2.tar.gz llvm-c82a61c6c611857e47c3d6c6dbd069c27cd6d0f2.tar.bz2 llvm-c82a61c6c611857e47c3d6c6dbd069c27cd6d0f2.tar.xz |
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
Diffstat (limited to 'include/llvm/AutoUpgrade.h')
-rw-r--r-- | include/llvm/AutoUpgrade.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/AutoUpgrade.h b/include/llvm/AutoUpgrade.h index 5ce20b69e2..8ca3548f53 100644 --- a/include/llvm/AutoUpgrade.h +++ b/include/llvm/AutoUpgrade.h @@ -43,6 +43,10 @@ namespace llvm { /// This function checks debug info intrinsics. If an intrinsic is invalid /// then this function simply removes the intrinsic. void CheckDebugInfoIntrinsics(Module *M); + + /// This function upgrades the old pre-3.0 exception handling system to the + /// new one. N.B. This will be removed in 3.1. + void UpgradeExceptionHandling(Module *M); } // End llvm namespace #endif |