Displaying 3 results from an estimated 3 matches for "58f1a133".
2010 Oct 30
0
[LLVMdev] strict aliasing and LLVM
> clang -x c foo.c -emit-llvm-bc -o /tmp/llvm_JnS1o8/foo.bc
> (.text+0x20): undefined reference to `main'
> collect2: ld returned 1 exit status
> clang: error: linker (via gcc) command failed with exit code 1 (use -v to
> see invocation)
Without a -c I think clang is trying to link the llvm IL file. For
that to work you would need a linker that understands LLVM IL. Both
the
2010 Oct 30
2
[LLVMdev] strict aliasing and LLVM
...doing it.
>
Then it looks like a bug in llvmc driver -- -c is not passed to clang.
David
>
> > David
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101029/58f1a133/attachment.html>
2010 Oct 28
4
[LLVMdev] strict aliasing and LLVM
2010/10/27 Rafael Espíndola <rafael.espindola at gmail.com>
> 2010/10/27 Xinliang David Li <xinliangli at gmail.com>:
> > Thanks. Just built clang and saw the meta data and annotations on the
> memory
> > accesses -- is any opt pass consuming the information?
>
> The tests in test/Analysis/TypeBasedAliasAnalysis suggest that at
> least licm is using it.