diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-27 06:11:03 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-27 06:11:03 +0000 |
commit | df77a71790bb876b6314275bac534c5c3278c743 (patch) | |
tree | afb7885e23cad3f38f604d7d223a1907a5048cd8 /lib/AsmParser | |
parent | 8592a0cda4cf4ae76c5a29230fb330d0e952bb62 (diff) | |
download | external_llvm-df77a71790bb876b6314275bac534c5c3278c743.zip external_llvm-df77a71790bb876b6314275bac534c5c3278c743.tar.gz external_llvm-df77a71790bb876b6314275bac534c5c3278c743.tar.bz2 |
Auto upgrade the old EH scheme to use the new one. This is on a trial basis. If
things to disasterously over night, this can be reverted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 395d684..4d233ca 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -120,6 +120,9 @@ bool LLParser::ValidateEndOfModule() { for (Module::iterator FI = M->begin(), FE = M->end(); FI != FE; ) UpgradeCallsToIntrinsic(FI++); // must be post-increment, as we remove + // Upgrade to new EH scheme. N.B. This will go away in 3.1. + UpgradeExceptionHandling(M); + // Check debug info intrinsics. CheckDebugInfoIntrinsics(M); return false; |