[LLVMdev] Re: Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM

Chris Lattner sabre at nondot.org
Thu Mar 16 10:06:52 PST 2006


On Thu, 16 Mar 2006, Vladimir Prus wrote:
> Ah, hell, as soon as I've send this email I've updated from CVS to find that
> the issue was fixed by Jim several hours after I reported the crash, by
> making MachineDebugInfo don't check for empty name of type.

:)

> Here's what I get now:
>
> /space/p2/ghost/build/llvm-frontend/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/compatibility.h:42:
> internal compiler error: in make_decl_rtl, at varasm.c:1018
> (gdb) where
> Preprocessed source goes by private email.

Great, thanks for the info.  Please try this patch:

Index: varasm.c
===================================================================
--- varasm.c    (revision 112246)
+++ varasm.c    (working copy)
@@ -4759,6 +4759,13 @@ assemble_alias (tree decl, tree target)
      }
  # endif
  #endif
+
+  /* APPLE LOCAL begin LLVM */
+#ifdef ENABLE_LLVM
+  inform ("%JLLVM does not support aliases yet", decl);
+  return;
+#endif
+  /* APPLE LOCAL end LLVM */

    /* We must force creation of DECL_RTL for debug info generation, even though
       we don't use it here.  */


-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-dev mailing list