Fix one of the major things that is causing the C Backend to infinite loop
authorChris Lattner <sabre@nondot.org>
Fri, 28 May 2004 05:02:13 +0000 (05:02 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 28 May 2004 05:02:13 +0000 (05:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13872 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/LowerInvoke.cpp

index c486633a75a79ed97eaf21df488e224e5b1a5173..bde4ff56b066a84c875f03c7d4153443c0f44e4b 100644 (file)
@@ -103,6 +103,7 @@ bool LowerInvoke::doInitialization(Module &M) {
       PATypeHolder JBLType(StructType::get(Elements));
       OT->refineAbstractTypeTo(JBLType.get());  // Complete the cycle.
       JBLinkTy = JBLType.get();
+      M.addTypeName("llvm.sjljeh.jmpbufty", JBLinkTy);
     }
 
     const Type *PtrJBList = PointerType::get(JBLinkTy);