[LLVMdev] Is this bug in LLVM?

Andrew Lenharth andrewl at lenharth.org
Thu Nov 9 07:32:46 PST 2006


On 11/9/06, Seung Jae Lee <lee225 at uiuc.edu> wrote:
> Hello. My name is Seung Jae Lee.
> I'd like to ask you onething about converting to ARM assembly code.

ARM is still a work in progress (but make steady and good progress at
that).  I don't believe all features work yet.

In this case, it looks like ARM cannot handle va_arg calls yet, aka
your call to printf.

Andrew

> I saved the simplest C code shown in your LLVM webpage as 'hello.c'
> And I made 'hello.bc' by "$ llvm-gcc hello.c -o hello".
> In order to make ARM assembly code, I typed "llc -march=arm hello.bc -o hello.arm"
> But, I met this error.
>
> llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand LowerCALL(llvm::SDOperand, llvm::SelectionDAG&): Assertion `isVarArg == false && "VarArg not supported"' failed.
> llc((anonymous namespace)::PrintStackTrace()+0x15)[0x850437d]
> llc((anonymous namespace)::SignalHandler(int)+0x139)[0x8504645]
> Aborted
>
> I can't understand. Would you mind replying to me w.r.t this?
> Thank you.
>
> Best regards,
> Seung Jae Lee
>
> ------------------------------------------------
> Phone: +1-217-377-1932
> Webpage: http://struct.nazoo.net/cv/cv_eng.htm
>
> Graduate Research Assistant
> Dept. of Civil & Environmental Engineering
> University of Illinois at Urbana-Champaign
> ------------------------------------------------
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list