search for: llvmc

Displaying 20 results from an estimated 322 matches for "llvmc".

Did you mean: llvm
2011 Sep 05
3
[LLVMdev] [MacOSX] make check failures
Hi, I built LLVM + Clang on Mac OS X and ran make check. I get the following result summary: Failing Tests (11): LLVM :: LLVMC/C++/dash-x.cpp LLVM :: LLVMC/C++/hello.cpp LLVM :: LLVMC/C++/just-compile.cpp LLVM :: LLVMC/C++/together.cpp LLVM :: LLVMC/C++/unknown_suffix.unk LLVM :: LLVMC/C/hello.c LLVM :: LLVMC/C/opt-test.c LLVM :: LLVMC/C/sink.c LLVM :: LLVMC/C/wall.c LLVM :: LLVMC/ObjC++...
2011 Oct 29
2
[LLVMdev] llvmc: Can't find program 'llvm-g++'
I am getting this error while using the command "llvmc -O3 -Wall hello.cpp" where hello.cpp is some cpp file on my machine. llvmc is the driver calling a bunch of tools like llvm-g++, opt, llc etc. I think the llvmc tool could not probably locate the llvm-g++ tool. I would like to know where should I specify the path to llvm-g++ for llvmc to find...
2011 Sep 05
0
[LLVMdev] [MacOSX] make check failures
On Sun, Sep 4, 2011 at 8:40 PM, S. Bharadwaj Yadavalli <bharadwajy at gmail.com> wrote: > Hi, > > I built LLVM + Clang on Mac OS X and ran make check. I get the > following result summary: > > Failing Tests (11): >    LLVM :: LLVMC/C++/dash-x.cpp >    LLVM :: LLVMC/C++/hello.cpp >    LLVM :: LLVMC/C++/just-compile.cpp >    LLVM :: LLVMC/C++/together.cpp >    LLVM :: LLVMC/C++/unknown_suffix.unk >    LLVM :: LLVMC/C/hello.c >    LLVM :: LLVMC/C/opt-test.c >    LLVM :: LLVMC/C/sink.c >    LLVM :: LLVMC/C...
2009 Jun 30
3
[LLVMdev] build failure on ARM linux
I'm seeing this new build failure, starting some time yesterday on ARM: make[3]: Entering directory `/home/nlewycky/llvm/tools/llvmc/driver' llvm[3]: Linking Debug executable llvmc g++ -DLLVMC_BUILTIN_PLUGIN_1=Base -DLLVMC_BUILTIN_PLUGIN_2=Clang -I/home/nlewycky/llvm/include -I/home/nlewycky/llvm/tools/llvmc/driver -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g -fPIC -Woverloaded-virtual -pedan...
2006 Aug 13
2
[LLVMdev] Problem with stock llvmc configuration for C
Hi, Apparently there are two bugs in tools/llvmc/c: /.../llvm/tools/llvmc/c:12: Error: Invalid top level configuration item /.../llvm/tools/llvmc/c:28: Error: Expecting a program name /.../llvm/tools/llvmc/c had 2 errors. Terminating. The first error relates to the following line(s): lang.libs=%llvmgccdir%/lib %llvmgccdir%/lib \ %llvmg...
2004 Aug 30
1
[LLVMdev] llvmc - Compiler Driver - Status Update & Issues
Folks, As of the writing of this note, the llvmc tool is enabled for build on the CVS head. I'm encouraging you to try it out, provide some feedback, and help with the issues below. llvmc is now able to correctly link a pure bytecode version of any Stacker program. This includes translation with stkrc, optimization with opt and linking with...
2010 Oct 27
2
[LLVMdev] llvmc searches PATH for llc
Hi, Is it intended that llvmc should search PATH for llc? For example, this means that llvmc 2.7 can invoke llc 2.8: % echo $PATH /home/jdenny/installs/llvm/2.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games % /home/jdenny/installs/llvm/2.7/bin/llvmc test.ll llc: Unknown command line argu...
2006 Aug 14
0
[LLVMdev] Problem with stock llvmc configuration for C
On Sun, 2006-08-13 at 21:18 +0200, Bram Adams wrote: > Hi, > > Apparently there are two bugs in tools/llvmc/c: This tool is, as yet, unfinished. > > /.../llvm/tools/llvmc/c:12: Error: Invalid top level configuration item > /.../llvm/tools/llvmc/c:28: Error: Expecting a program name > /.../llvm/tools/llvmc/c had 2 errors. Terminating. > > The first error relates to the following line...
2011 Feb 15
2
[LLVMdev] Make "llvmc -opt" call "opt" for .ll files
Without this patch, opt is never called for llvm-assembly (.ll) files when "-opt" is passed to llvmc: $ llvmc -clang -v test.ll llc -f -O2 test.ll -o /tmp/llvm_gvO2nK/test.s as /tmp/llvm_gvO2nK/test.s -o /tmp/llvm_gvO2nK/test.o llvm-ld -native -disable-internalize /tmp/llvm_gvO2nK/test.o -o a.out $ llvmc -clang -opt -v test.ll llc -f -O2 test.ll -o /tmp/llvm_2xiL86/test.s as /tmp/llvm_2xiL86/tes...
2010 Oct 30
2
[LLVMdev] strict aliasing and LLVM
...> > 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 apple linker and gold support plugins for doing it. >> > > Then it looks like a bug in llvmc driver -- -c is not passed to clang. > > > I strongly recommend not using llvmc unless you know exactly what you're > doing and what the features and limitations of llvmc are. Please use the > clang driver. > Is llvmc just a wrapper on top of llvm-gcc and clang? In search...
2007 Aug 24
2
[LLVMdev] llvmc doesn't work for compilation nor linking
Is llvmc meant for compilation? $ llvmc -c a.c -o a.o /usr/src/llvm/dist/etc/llvm/c:55: Error: Expecting output type value /usr/src/llvm/dist/etc/llvm/c had 1 errors. Terminating. The offending line contains: optimizer.output = bytecode which doesn't seem to be understood by llvmc. If I uncomment t...
2009 Mar 30
2
[LLVMdev] llvmc issues on x86_32
According to the FAQ llvmc is considered experimental/unsupported. But FWIW, here's an issue I found while trying to use it on 32 bit x86 systems. tools/llvmc/plugins/Base/Base.td hardcodes the -relocation-model=pic option into invocations of llc: def llc : Tool< [(in_language "llvm-bitcode"), (out_langua...
2007 May 28
1
[LLVMdev] Usage of llvmc
Thank you so much for your reply, Chris. If so, can I ask you two things more? First, is there any way to have various optimizations on LLVM assembly such as -O options in llvmc? llvm-gcc doesn't seem to be working for these -O options... Second, I'm still not sure about difference between *.s and *.ll. LLVM assembly *.s file can be made from llvm-gcc -S. Another assembly *.ll file comes from just llvm-gcc. Is the difference between these two extensions on the opt...
2010 Aug 05
4
[LLVMdev] LLVMC tests failing when building with clang
Hi, After building llvm with clang the llvmc tests are failing with: llvmc: Node llc is not in graph Anyone else see this ? (TOT llvm & clang) -Argiris
2009 Jun 23
3
[LLVMdev] llvmc for PIC16
> BTW, Chris's Makefile changes broke llvmc yesterday (r75379). I'm > working on a fix. Hi Mikhail, Did you get a chance to fix this. I still get errors while building examples. i00202 at ubuntu:~/projects/llvm/tools/llvmc/example/mcc16$ make make[1]: Entering directory `/home/i00202/projects/llvm/tools/llvmc/example/mcc16/plugins...
2010 Oct 30
0
[LLVMdev] strict aliasing and LLVM
On Oct 29, 2010, at 11:30 PM, Xinliang David Li wrote: > > > On Fri, Oct 29, 2010 at 11:14 PM, Chris Lattner <clattner at apple.com> wrote: > I strongly recommend not using llvmc unless you know exactly what you're doing and what the features and limitations of llvmc are. Please use the clang driver. > > Is llvmc just a wrapper on top of llvm-gcc and clang? In search of a way to pass down internal llvm options ( I did not know about -m yet), I found that llvmc...
2007 Aug 24
0
[LLVMdev] llvmc doesn't work for compilation nor linking
On Aug 24, 2007, at 1:52 PM, Holger Schurig wrote: > Is llvmc meant for compilation? > I'm not sure what the status of llvmc is (is anyone working on it?), but I don't believe it was ready for real use or was finished. If you would like to work on it, patches are welcomed! Thanks, Tanya > $ llvmc -c a.c -o a.o > /usr/src/llvm/dist/etc/l...
2009 Jun 15
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv, 2009/6/15 Sanjiv Gupta <sanjiv.gupta at microchip.com>: > Hi Mikhail, > How do you build mcc16 executable? This should work: $ cd $LLVM_DIR/tools/llvmc/examples/mcc16 $ make If you're building from some other dir, you'll need to update mcc16/Makefile, so it knows where Makefile.common is located. > There are so many confusing things there: driver, plugins, example, Skelton > etc. > The LLVMC-Tutorial doesn't clearly talk abo...
2009 Oct 07
1
[LLVMdev] Linking library files using llvmc
I was using llvmc along with the -opt option to perform static analyzes in some of the commonly used programs like bzip2, gzip, grep etc. I found that when llvmc is used to link libraries (.a or .so files) using the -l option it passes the library files to the linker ( for me it was llvm-gcc itself) but changes the...
2010 Oct 28
2
[LLVMdev] llvmc searches PATH for llc
Hi Mikhail, On Thu, 28 Oct 2010, Mikhail Glushenkov wrote: > Joel E. Denny <jdenny <at> etinternational.com> writes: > > Is it intended that llvmc should search PATH for llc? For example, this > > means that llvmc 2.7 can invoke llc 2.8: > > [...] > > This is fixed in 2.8+ - llvmc now searches the directory it resides in first. I just built r117553 from http://llvm.org/svn/llvm-project/llvm/trunk, and I'm seeing the...