[LLVMdev] weird function

Simon Ask Ulsnes vinterbleg at gmail.com
Wed Jul 23 09:30:50 PDT 2008


llvm-gcc is the C compiler, but you're trying to compile a C++ file.
"@_Znwj" looks like part of a C++ symbol.

Try llvm-g++ instead, that should help.

- Simon

2008/7/23 Le Anh Quang <anh_quang.le at mailbox.tu-dresden.de>:
>  Hi,
>  I  have tried to compile a simple cpp file with llvm-gcc. I have attached
> the assemble file here.
>  I see a weird thing there. There are some call instructions, they call the
> function "@_Znwj". But this function was only declared in the file, there is
> no definition of it. So, how can it work, if this function is "empty" ?
>
>  Thanks for any advice.
>
>  Quang
>
> _______________________________________________
> 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