Displaying 3 results from an estimated 3 matches for "assemble_alias".
2006 Mar 16
0
[LLVMdev] Re: Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
...0x082bf22f in fancy_abort (file=0x8a02d8f "make_decl_rtl", line=1018,
function=0x8a02d8f "make_decl_rtl")
at ../../2006-03-14-llvm-gcc-4/gcc/diagnostic.c:588
#2 0x084c0c5c in make_decl_rtl (decl=0xb7b9d618)
at ../../2006-03-14-llvm-gcc-4/gcc/varasm.c:1018
#3 0x084c8207 in assemble_alias (decl=0xb7b9d618, target=0xb698fe00)
at ../../2006-03-14-llvm-gcc-4/gcc/varasm.c:4765
#4 0x084d05e6 in rest_of_decl_compilation (decl=0xb7b9d618, top_level=1,
at_end=0)
at ../../2006-03-14-llvm-gcc-4/gcc/passes.c:204
Printing decl in frame 2 gives:
(gdb) call debug_tree(decl)
<funct...
2006 Mar 16
2
[LLVMdev] Re: Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
Evan Cheng wrote:
> Hi,
>
> Here is the follow on patch for this problem. Please apply this from
> the top of the tree and rebuild.
With the patch from Chris and then the patch from you combined, the previous
error disappeared, but I get another error, reduced to this:
./cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mtune=pentiumpro
-auxbase-strip libgcc/./_clz.o -g -O2
2006 Mar 16
2
[LLVMdev] Re: Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
...m.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 th...