search for: disable_assert

Displaying 20 results from an estimated 23 matches for "disable_assert".

Did you mean: g_disable_assert
2011 Nov 03
2
[LLVMdev] LLVM problem, please do not ignore
Hello John, John Criswell <criswell at illinois.edu> writes: [snip] > By the way, it looks like you don't have a build with assertions > enabled. I recommend compiling with > > gmake ENABLE_OPTIMIZED=0 DISABLE_ASSERTIONS=1 Shouldn't the above be DISABLE_ASSERTIONS=0 ? (which means DISABLE_ASSERTIONS=No, introducing the dreaded double negation which causes so much confusion on some people.) BTW, Debug+Asserts is the default mode in the configure&make build.
2011 Nov 03
0
[LLVMdev] LLVM problem, please do not ignore
...object) and use the replaceAllUsesWith() method of the Instruction class to replace uses of the add with the integer. Then you can erase the add from the program. By the way, it looks like you don't have a build with assertions enabled. I recommend compiling with gmake ENABLE_OPTIMIZED=0 DISABLE_ASSERTIONS=1 if you're going to be developing an LLVM pass. -- John T. > > ................some rows about functions, that are not changed by my > pass. The errors occurs after it has modified a "@_Z3addii" function. > store i32 %b.0, i32* %4 and the type is ddddbbm 28 >...
2007 Jun 25
2
[LLVMdev] BuildMode
I'm continuing my quest to integrate _GLIBCXX_DEBUG into the config system. I now have things at a point where I can configure llvm to build with -D_GLIBCXX_DEBUG and the llvm-gcc will pick up the correct CPPFLAGS automatically. One thing I noticed in the llvm Makefile.rules is this: # If DISABLE_ASSERTIONS=1 is specified (make command line or configured), # then disable assertions by defining the appropriate preprocessor symbols. ifdef DISABLE_ASSERTIONS BuildMode := $(BuildMode)-Asserts [...] else [...] endif This seems backward to make. If I configure with --disable-assertions I would expec...
2013 Apr 17
2
[LLVMdev] make check rebuilds the project?
...is, it’s pretty common for me > to do something that boils down to (with lots of steps in between of > course), “<src>/configure && make && make check && make > ENABLE_OPTIMIZED=1 && make check ENABLE_OPTIMIZED=1 && make > ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 && make check > ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1”. Depending on what I’m > doing, I bounce back and forth between them. With cmake, I have to > have completely separate configured build directories. I already > have 10+ llvm build directories lying around that I reg...
2010 Jul 19
2
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
Hi, Trying to build AOT version of vmkit java, building for that classpath glibj.zip: $ cd vmkit/tools/vmjc/libvmjc $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 has eventually, after 50 minutes, brought: <<< llvm[0]: Compiling glibj.zip to llvm llvm[0]: Optimizing glibj.zip llvm[0]: Compiling glibj.zip.bc to native UNREACHABLE executed! 0 llc 0x0000000000c0e04f 1 llc 0x0000000000c0fc4a 2 l...
2009 Nov 22
2
[LLVMdev] [PATCH] increase the max number of physical registers
Hi, Chris Lattner wrote: > This is fine to me in principle, but please make sure this doesn't > impact compile time or memory usage of llc somehow. OK. Any recommended way to do this? Is there some nice way to benchmark speed + memory consumption of llc in LLVM testing infra at the moment or should I just use 'top' to the inspect memory consumption and 'time' for speed
2009 Nov 23
0
[LLVMdev] [PATCH] increase the max number of physical registers
...; speed + memory consumption of llc in LLVM testing infra at the > moment or should I just use 'top' to the inspect memory consumption > and 'time' for speed measurements with a code generation from > a big bitcode? Please compare a release-asserts (make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1) builds with and without your patch. Just run 'llc' on a collection of large bc files (e.g. kimwitu++ from the testsuite, some SPEC2K6 programs if you have access to it, etc) and compare them. Thanks! -Chris
2013 Apr 17
0
[LLVMdev] make check rebuilds the project?
...med for those. That is, it’s pretty common for me to do something that boils down to (with lots of steps in between of course), “<src>/configure && make && make check && make ENABLE_OPTIMIZED=1 && make check ENABLE_OPTIMIZED=1 && make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 && make check ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1”. Depending on what I’m doing, I bounce back and forth between them. With cmake, I have to have completely separate configured build directories. I already have 10+ llvm build directories lying around that I regularly use. I’d pr...
2013 Apr 17
0
[LLVMdev] make check rebuilds the project?
...common for me >> to do something that boils down to (with lots of steps in between of >> course), “<src>/configure && make && make check && make >> ENABLE_OPTIMIZED=1 && make check ENABLE_OPTIMIZED=1 && make >> ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 && make check >> ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1”. Depending on what I’m >> doing, I bounce back and forth between them. With cmake, I have to >> have completely separate configured build directories. I already >> have 10+ llvm build directories lying a...
2011 Nov 03
5
[LLVMdev] LLVM problem, please do not ignore
Dear sir or madam, I am a 4-th year student at Yerevan State University, Armenia; and I am studying LLVM in order to write my Bachelor thesis. I am trying to write an llvm pass that just removes all "Add" commands and gives some statstics. Nevertheless, I get this segmentation fault: ................some rows about functions, that are not changed by my pass. The errors occurs after it
2013 Apr 17
4
[LLVMdev] make check rebuilds the project?
On Wed, Apr 17, 2013 at 10:53 AM, Jim Grosbach <grosbach at apple.com> wrote: > > On Apr 17, 2013, at 10:43 AM, Eli Bendersky <eliben at google.com> wrote: > > > > > On Wed, Apr 17, 2013 at 10:23 AM, Krzysztof Parzyszek > <kparzysz at codeaurora.org> wrote: >> >> On 4/17/2013 12:15 PM, Eric Christopher wrote: >>> >>>
2010 Aug 02
0
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
On Mon, Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com> wrote: > Trying to build AOT version of vmkit java, > building for that classpath glibj.zip: > > $ cd vmkit/tools/vmjc/libvmjc > $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 > > has eventually, after 50 minutes, brought: > <<< > llvm[0]: Compiling glibj.zip to llvm > llvm[0]: Optimizing glibj.zip > llvm[0]: Compiling glibj.zip.bc to native > UNREACHABLE executed! > 0  llc             0x0000000000c0e04f &gt...
2007 Jun 26
0
[LLVMdev] BuildMode
..._GLIBCXX_DEBUG into the config system. > I now have things at a point where I can configure llvm to build with > -D_GLIBCXX_DEBUG and the llvm-gcc will pick up the correct CPPFLAGS > automatically. Okay. > > One thing I noticed in the llvm Makefile.rules is this: > > # If DISABLE_ASSERTIONS=1 is specified (make command line or configured), > # then disable assertions by defining the appropriate preprocessor symbols. > ifdef DISABLE_ASSERTIONS > BuildMode := $(BuildMode)-Asserts > [...] > else > [...] > endif > > This seems backward to make. If I conf...
2010 Aug 03
2
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
...ail.com> > On Mon, Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com> > wrote: > > Trying to build AOT version of vmkit java, > > building for that classpath glibj.zip: > > > > $ cd vmkit/tools/vmjc/libvmjc > > $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 > > > > has eventually, after 50 minutes, brought: > > <<< > > llvm[0]: Compiling glibj.zip to llvm > > llvm[0]: Optimizing glibj.zip > > llvm[0]: Compiling glibj.zip.bc to native > > UNREACHABLE executed! > > 0...
2014 Mar 26
3
[LLVMdev] Lots of regtest failures on PPC64/Linux
----- Original Message ----- > From: "Renato Golin" <renato.golin at linaro.org> > To: "İsmail Dönmez" <ismail at donmez.ws> > Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> > Sent: Wednesday, March 26, 2014 8:14:18 AM > Subject: Re: [LLVMdev] Lots of regtest failures on PPC64/Linux > > Hi Ismail, > > Is
2010 Apr 29
3
[LLVMdev] Why the same code is much slower in JIT compared to separate executable?
Török Edwin wrote: > Are you using 2.6 or 2.7, 32-bit or 64-bit? > I use 2.7 on i386. lli has debug asserts enabled, but I guess this shouldn't matter for JIT code speed. jit: 11.32 real exe: 7.64 user Both have -O3 option. Speed should be the same. Yuri
2007 Dec 03
0
[LLVMdev] LLVM footprint
...his is a sharedlib I had to configure LLVM with > - --enable-pic --enable-optimize, but I used no other configure options... > should I have? Are there features that can be disabled to reduce footprint? LLVM uses a lot of strings in assertion messages. building with 'ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1' will give a significantly smaller build than just an optimized build. Also, there are lots of options for strip that you can play with. Finally, there is still a lot that can be done to reduce code size. For example, building a JIT links in the .s file printers in, and they have n...
2010 Aug 04
0
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
..., Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com> >> wrote: >> > Trying to build AOT version of vmkit java, >> > building for that classpath glibj.zip: >> > >> > $ cd vmkit/tools/vmjc/libvmjc >> > $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 >> > >> > has eventually, after 50 minutes, brought: >> > <<< >> > llvm[0]: Compiling glibj.zip to llvm >> > llvm[0]: Optimizing glibj.zip >> > llvm[0]: Compiling glibj.zip.bc to native >> > UNREA...
2009 Jun 17
1
[LLVMdev] Configure problem of llvm2.5 in Mac OS X 10.4.11
...39; CC='gcc' CFLAGS='' CMP='' CONVENIENCE_LTDL_FALSE='' CONVENIENCE_LTDL_TRUE='' CP='' CPP='' CPPFLAGS='' CVSBUILD='' CXX='' CXXCPP='' CXXFLAGS='' DATE='' DEBUG_RUNTIME='' DEFS='' DISABLE_ASSERTIONS='' DOT='' DOTTY='' DOXYGEN='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_CBE_PRINTF_A='' ENABLE_DOXYGEN='' ENABLE_EXPENSIVE_CHECKS='' ENABLE_OPTIMIZED='' ENABLE_PIC=''...
2007 Dec 03
2
[LLVMdev] LLVM footprint
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What is the expected footprint of a tool using the LLVM JIT? I have created a simple project that uses the LLVM C++ API to JIT calls to XPCOM method signature... it works well, but the component DLL is very large (Linux x86-74, 5.8MB optimized and stripped). Is this normal? Am I linking to "too much" or not using the correct link flags?