Hi,
I have tried also llvm-g++ before. It was the same.
Quang
-----Ursprüngliche Nachricht-----
Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im
Auftrag von Simon Ask Ulsnes
Gesendet: Mittwoch, 23. Juli 2008 18:31
An: LLVM Developers Mailing List
Betreff: Re: [LLVMdev] weird function
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
>
>
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev