From: Bill Wendling Date: Tue, 20 Sep 2011 22:29:43 +0000 (+0000) Subject: Update this test to the new EH model. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e3039de7225cdceca8a22b8c662a4b05b3dcc566;p=oota-llvm.git Update this test to the new EH model. Though I think it may be obsolete with the loop extract changes. And I couldn't get the old version of LLVM to compile so that I could reduce this testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140197 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll b/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll index 91e9799ad9c..ff5de6b73e2 100644 --- a/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll +++ b/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll @@ -190,5 +190,9 @@ return: ; preds = %entry ret void LongJmpBlkPre: ; preds = %endif.52, %then.40 + %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0 + catch i8* null ret void } + +declare i32 @__gcc_personality_v0(...)