search for: llv

Displaying 20 results from an estimated 52 matches for "llv".

Did you mean: llvm
2014 Sep 29
2
[LLVMdev] Compiling glibc with clang/LLVM
Hey all, I was wondering if clang/LLVM has support to compile glibc in its entirety? The only thing I could find of recent was this thread saying the only way it could really be done is to use the dragonegg plugin with gcc... https://groups.google.com/forum/#!topic/llvm-dev/pmZYVNTrVYQ [LLVMdev] clang/llvm with gli...
2014 Apr 24
3
[LLVMdev] getMetadata(“dbg”) returns NULL
Hi, getMetadata(“dbg”) returns NULL for such a small program as follows: int main(){ char a[10], b[2]; if(a[0] != 0 && a[1] != 0){ strcpy(a, b); } return 0; } The compiling command is: llvm-gcc --emit-llvm -g -c ./src.c I also tried the solutions I found through Google: http://stackoverflow.com/questions/14943447/llvm-line-number-of-an-instruction http://stackoverflow.com/questions/23089316/getmetadatadbg-returns-null-despite-producing-ir-with-clang-g-s-emit-llv but neither of th...
2010 Apr 11
0
[LLVMdev] darwin dragon-egg build issues
On 04/10/2010 08:01 PM, Jack Howarth wrote: > > bash-3.2$ GCC=/sw/bin/gcc-4 CC=gcc-4 CXX=g++-4 CFLAGS=-I/sw/include CXXFLAGS=-I/sw/include LLVM_CONFIG=/sw/lib/llvm/bin/llvm-config make > g++-4 -c -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD -MP -DIN_GCC -DREVISION=\"100954M\" -DTARGET_NAME=\"x86_64-apple-darwin10.3.0\" -I/Users/howarth/llvm_svn/dragonegg -I/sw/li...
2009 Jul 26
2
[LLVMdev] [Cygwin] error building llvm-gcc
I am getting an error building svn llvm-gcc on Cygwin :- /home/ang/build/llvm-gcc/./gcc/xgcc -B/home/ang/build/llvm-gcc/./gcc/ -B/usr/llv m-gcc/i686-pc-cygwin/bin/ -B/usr/llvm-gcc/i686-pc-cygwin/lib/ -isystem /usr/llvm -gcc/i686-pc-cygwin/include -isystem /usr/llvm-gcc/i686-pc-cygwin/sys-include - O2 -I/home/ang/svn/llvm-gcc/gcc/../w...
2007 Dec 29
1
[LLVMdev] svn broken on cygwin
Function.cpp:167: error: call of overloaded `AddInteger(uint32_t&)' is ambiguous /home/Seb/llvm/include/llvm/ADT/FoldingSet.h:151: note: candidates are: void llv m::FoldingSetImpl::NodeID::AddInteger(int) /home/Seb/llvm/include/llvm/ADT/FoldingSet.h:152: note: void llvm::FoldingSetIm pl::NodeID::AddInteger(unsigned int) /home/Seb/llvm/include/llvm/ADT/FoldingSet.h:153: note: void llvm::Fol...
2009 Jul 26
0
[LLVMdev] [Cygwin] error building llvm-gcc
...triggered with the name changes. I know nothing of the status of cygwin however, can you confirm that this used to work? If you use r77097, does it work? - Daniel On Sun, Jul 26, 2009 at 4:23 AM, Aaron Gray<aaronngray.lists at googlemail.com> wrote: > I am getting an error building svn llvm-gcc on Cygwin :- > > > /home/ang/build/llvm-gcc/./gcc/xgcc -B/home/ang/build/llvm-gcc/./gcc/ > -B/usr/llv > m-gcc/i686-pc-cygwin/bin/ -B/usr/llvm-gcc/i686-pc-cygwin/lib/ -isystem > /usr/llvm > -gcc/i686-pc-cygwin/include -isystem > /usr/llvm-gcc/i686-pc-cygwin/sys-include ...
2004 Aug 06
1
[LLVMdev] Why I cannot use PgmDependenceGraph?
I want to use PgmDependenceGraph pass , but my pass cannot work with PgmDependenceGraph. I tried again in Hello2 pass, and it could not work also. The following is I did with llvm/lib/Transforms/Hello.cpp: 1.insert #include "llvm/Analysis/PgmDependenceGraph.h" in Hello.cpp. 2.insert AU.addRequired<PgmDependenceGraph>() in the getAnalysisUsage(AnalysisUsage &AU) of Hello2. 3.made the hello pass, it passed. 4.do "opt -load /llvm/lib/...
2011 Jan 02
2
[LLVMdev] LLVM for ARM target
Sorry I used --enable-pic, not --enable-pics. It was a typo. Akramul --- On Sun, 2/1/11, akramul azim <bijoy123_8 at yahoo.com> wrote: From: akramul azim <bijoy123_8 at yahoo.com> Subject: Re: [LLVMdev] LLVM for ARM target To: "Bill Wendling" <wendling at apple.com> Cc: "Anton Korobeynikov" <anton at korobeynikov.info>, llvmdev at cs.uiuc.edu Date: Sunday, 2 January, 2011, 2:59 PM I tried adding --enable-pics but getting the same error. I opened the make file...
2011 Jan 02
0
[LLVMdev] LLVM for ARM target
Sorry again, my bad. I actually was using --enable-pics instead of --enable-pic. Now LLVM is being compiled. Hope the last phase llvm-gcc compilation would be a success. Thanks a lot. Akramul --- On Sun, 2/1/11, akramul azim <bijoy123_8 at yahoo.com> wrote: From: akramul azim <bijoy123_8 at yahoo.com> Subject: Re: [LLVMdev] LLVM for ARM target To: "Bill Wendling&quot...
2010 Oct 22
1
[LLVMdev] Crash with llc and vector code
Hi, Compiling the simple following function with llv (LLVM 2.8) : define <4 x i32> @foo(<4 x i32> %a, <4 x i32> %b) { %res = select <4 x i1> <i1 true, i1 false, i1 true, i1 true>, <4 x i32> %a, <4 x i32> %b ; ret <4 x i32> %res } gives : UNREACHABLE executed! 0 llc 0x000000010092742...
2010 Apr 11
7
[LLVMdev] darwin dragon-egg build issues
...arwin-sections.def into lib/gcc/x86_64-apple-darwin10.3.0/4.5.0/plugin/include/ so I copied that manually for now. With that change, I think I am bumping into a bug with building dragon-egg with gcc 4.5.0... bash-3.2$ GCC=/sw/bin/gcc-4 CC=gcc-4 CXX=g++-4 CFLAGS=-I/sw/include CXXFLAGS=-I/sw/include LLVM_CONFIG=/sw/lib/llvm/bin/llvm-config make g++-4 -c -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD -MP -DIN_GCC -DREVISION=\"100954M\" -DTARGET_NAME=\"x86_64-apple-darwin10.3.0\" -I/Users/howarth/llvm_svn/dragonegg -I/sw/lib/gcc...
2011 Jan 02
1
[LLVMdev] LLVM for ARM target
In the last step after building and installing binutils 2.21 for ARM and LLVM-src, I am trying to build LLVM-GCC. However, I get the repeated system config checking promt. I used the following configuration:   I created a directory called arm_objects and then I write:   $ ../llvm-gcc-4.2/configure --target=arm-linux --program-prefix=llvm- --prefix=/llv m/arm --enable-pic --...
2016 Aug 19
6
OT: Cloning llvm repo over low speed connection != fun
I remember reading all those examples about how a big repo isn't an issue and when sitting at some ${LOCATION} I have 1010101010Gbps and it takes like 30 seconds.. Well.. that may be true when I'm at home, but I'm not.. and this laptop doesn't have llvm sources installed.. So real world feedback of the pita it can be.. /* Side rant - I wish I didn't even need the llvm sources. I just want to build libcxxrt */ /* Yes I'm about to do the smarter thing and fetch a shallow clone or try to get the tarball snapshot from github.. I did however...
2011 Jan 02
3
[LLVMdev] LLVM for ARM target
Hi,     I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te):   1. Install binutils-2.21 (downloaded from gnu.org)   Steps:   $ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix =/llvm/arm --with-sysroot=/llvm/arms/sys-root   $ make   $ make install   2. Install LLVM...
2009 Jul 26
2
[LLVMdev] [Cygwin] error building llvm-gcc
...the name changes. Yes I am now getting the following :- c++ -c -g -DIN_GCC -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wno-variad ic-macros -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -Wno-unused -DT ARGET_NAME=\"i686-pc-cygwin\" -frandom-seed=0 -I. -I. -I/home/ang/svn/llvm-gcc/g cc -I/home/ang/svn/llvm-gcc/gcc/. -I/home/ang/svn/llvm-gcc/gcc/../include -I/hom e/ang/svn/llvm-gcc/gcc/../libcpp/include -I/home/ang/svn/llvm-gcc/gcc/../libdec number -I../libdecnumber -I/home/ang/build/llvm/include -I/home/ang/svn/llvm/inc lude -DENABLE_LLVM -I/home/ang/svn/llvm/include -I...
2011 Jan 02
0
[LLVMdev] LLVM for ARM target
On Jan 1, 2011, at 8:29 PM, akramul azim wrote: > Hi, > I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te): > > 1. Install binutils-2.21 (downloaded from gnu.org) > > Steps: > > $ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix > =/llvm/arm --with-sysroot=/llvm/arms/sys-root > &gt...
2007 Feb 28
1
[LLVMdev] Cygwin release build error
I did not realize that '--enable-llvm' was required and that invalidates my debug build results which were built just with LLVM on the path. I am now getting a segmentation fault when doing a 'make install' on LLVM-GCC4, possibly validating my original thoughts that GCC 4.1.1 was required to build LLVM-GCC 4.0.1. I will t...
2010 Dec 29
3
[LLVMdev] LLVM for ARM target
Hi,     I get the following error where the "make"(building) stops.   /MinGW/llvm/arm_objects/./gcc/xgcc -B/MinGW/llvm/arm_objects/./gcc/ -B/MinGW/llv m/arm_objects/../install/arm-linux/bin/ -B/MinGW/llvm/arm_objects/../install/arm -linux/lib/ -isystem /MinGW/llvm/arm_objects/../install/arm-linux/include -isyst em /MinGW/llvm/arm_objects/../install/arm-linux/sys-include  -O2 -O...
2005 May 14
2
[LLVMdev] Building Cygwin binaries
Hi, I have got GCC 3.4.3 and binutils 2.15 installed on Cygwin. Had to copy as.exe to gccas.exe to get llvm-gcc to get this far. I am getting the following error message(s) :- /usr/build/llvm-gcc/gcc/xgcc -B/usr/build/llvm-gcc/gcc/ -B/usr/llvm-gcc/i686-pc- cygwin/bin/ -B/usr/llvm-gcc/i686-pc-cygwin/lib/ -isystem /usr/llvm-gcc/i686-pc-c ygwin/include -isystem /usr/llvm-gcc/i686-pc-cygwin/sys-include...
2009 Aug 30
0
[LLVMdev] I know why msvc broken:(
I have already meet the problem before:) It's just because the installation of MSVC 2008 sp1. If you don't downgrade sp1, then we can using nmake system for example. %BLD%\cmake\bin\cmake.exe -DPYTHON_EXECUTABLE=%BLD%/python/python.exe -DCMAKE_INSTALL_PREFIX=%BLD%/llvm -G "NMake Makefiles" D:/svn/llv And it's must be working:) At lease on my computer is working:) -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo