search for: llvm_jns1o8

Displaying 7 results from an estimated 7 matches for "llvm_jns1o8".

2010 Oct 30
2
[LLVMdev] strict aliasing and LLVM
2010/10/29 Rafael Espíndola <rafael.espindola at gmail.com> > > 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 &...
2010 Oct 28
4
[LLVMdev] strict aliasing and LLVM
...there is no documentation on how to pass -enable-tbaa to opt driver. llvmc supports -Wo, option, but the option specified after -Wo, seems to be dropped. Another thing, when using -clang option to llvmc, I got link errors even when -c or -S is specified: 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) David > > By the way the build instruction in this > > page http://clang.llvm.org/get_started.html ne...
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...
2010 Oct 30
0
[LLVMdev] strict aliasing and LLVM
On Oct 29, 2010, at 10:21 PM, Xinliang David Li wrote: > > > 2010/10/29 Rafael Espíndola <rafael.espindola at gmail.com> > > 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...
2010 Oct 28
0
[LLVMdev] strict aliasing and LLVM
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. Also note that lib/Analysis/TypeBasedAliasAnalysis.cpp defines as enable-tbaa option that is off by
2010 Oct 28
2
[LLVMdev] strict aliasing and LLVM
Thanks. Just built clang and saw the meta data and annotations on the memory accesses -- is any opt pass consuming the information? By the way the build instruction in this page http://clang.llvm.org/get_started.html needs to be updated -- it recommends config (with default settings) and build llvm in the source dir -- it leaves some 'sticky' generated files in the source dir leading to
2010 Oct 30
2
[LLVMdev] strict aliasing and LLVM
On Fri, Oct 29, 2010 at 11:14 PM, Chris Lattner <clattner at apple.com> wrote: > > On Oct 29, 2010, at 10:21 PM, Xinliang David Li wrote: > > > > 2010/10/29 Rafael Espíndola <rafael.espindola at gmail.com> > >> > 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 tryin...