Displaying 20 results from an estimated 13487 matches for "assertions".
Did you mean:
assertion
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
llvm[4]: Compiling PoolAllocate.cpp for Release+Asserts build
/home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:
In member function ‘virtual bool
llvm::PoolAllocate::runOnModule(llvm::Module&)’:
/home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16:
error: ‘class llvm::Constant’ has no member named
2014 Apr 03
5
[LLVMdev] comparing .o files from different build trees
I'm trying to write a script for checking whether the compiler recursed
properly.
rkotler at mipsswbrd002:~/slave/recurse3be/build$ find . -name "*.o" -exec
cmp '{}' ../../recurse2be/build/'{}' \; |& tee foo.txt
Is anyone else doing this?
There 2 compilers, recurse 2 and recurse3 that in principle should be
identical.
Obviously if there is date and time
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
Hi,
I'm trying to build llvm on a Solaris/Sparc machine. I get many undefined
symbols during the link phase of opt. The link command being run is below.
It is identical to the link command that gets run and works on an x86 host.
Thanks,
Tarun
g++ -I/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/include
-I/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt
2007 May 28
0
[ wxruby-Bugs-11183 ] GLib errors cause crash
Bugs item #11183, was opened at 2007-05-28 10:28
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=11183&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Patrick McDonnell (kc9ddi)
Assigned to: Kevin Smith (qualitycode)
Summary: GLib errors cause crash
Initial Comment:
Hi - I''m
2015 Jan 22
3
[PATCH 1/2] configure: look for the oUnit OCaml module
It will be used for the OCaml unit tests.
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index e0fb481..e360bbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1120,6 +1120,7 @@ AS_IF([test "x$OCAMLC" != "xno"],[
])
OCAML_PKG_gettext=no
+OCAML_PKG_oUnit=no
AS_IF([test "x$OCAMLC" != "xno"],[
#
2010 Oct 02
2
[LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
...--prefix=/sw --mandir=/sw/share/man --infodir=/sw/share/info --with-gmp=/sw --with-libiconv-prefix=/usr --with-system-zlib --with-as=`xcode-select -print-path`/usr/bin/as --with-ld=`xcode-select -print-path`/usr/bin/ld --with-nm=`xcode-select -print-path`/usr/bin/nm --enable-optimized --enable-assertions --enable-pic --enable-targets=host-only
xcode-select -print-path
xcode-select -print-path
xcode-select -print-path
checking build system type... x86_64-apple-darwin10.5.0
checking host system type... x86_64-apple-darwin10.5.0
checking target system type... x86_64-apple-darwin10.5.0
checking type...
2010 Oct 04
0
[LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
...--prefix=/sw --mandir=/sw/share/man --infodir=/sw/share/info --with-gmp=/sw --with-libiconv-prefix=/usr --with-system-zlib --with-as=`xcode-select -print-path`/usr/bin/as --with-ld=`xcode-select -print-path`/usr/bin/ld --with-nm=`xcode-select -print-path`/usr/bin/nm --enable-optimized --enable-assertions --enable-pic --enable-targets=host-only
> xcode-select -print-path
> xcode-select -print-path
> xcode-select -print-path
> checking build system type... x86_64-apple-darwin10.5.0
> checking host system type... x86_64-apple-darwin10.5.0
> checking target system type... x86_64-ap...
2020 Apr 09
7
[RFC] Usage of NDEBUG as a guard for non-assert debug code
Hi all,
During discussions about assertions in the Flang project, we noticed that there are a lot of cases in LLVM that #ifndef NDEBUG is used as a guard for non-assert code that we want enabled in debug builds.
This works fine on its own, however it affects the behaviour of LLVM_ENABLE_ASSERTIONS; since NDEBUG controls whether assertions a...
2015 Jan 22
0
[PATCH 2/2] mllib: convert common_utils_tests to oUnit
Covert common_utils_tests to use oUnit as testing framework, replacing
the hand-made assert in favour of structured unit tests and better
error reporting.
common_utils_tests is now built only when the oUnit module has been
found.
---
mllib/Makefile.am | 17 ++++-
mllib/common_utils_tests.ml | 155 +++++++++++++++++++++++++++-----------------
2 files changed, 108 insertions(+), 64
2018 Mar 26
2
murmurhash3 test failures on big-endian systems
Hi,
The dovecot 2.3.0.1 Debian package currently fails to build on all
big-endian architectures[1], due to murmurhash3 tests failing. The
relevant output from e.g. s390x is:
test-murmurhash3.c:22: Assert(#8) failed: memcmp(result, vectors[i].result, sizeof(result)) == 0
test-murmurhash3.c:22: Assert(#11) failed: memcmp(result, vectors[i].result, sizeof(result)) == 0
test-murmurhash3.c:22:
2013 Feb 08
1
[LLVMdev] Build failure
Hi all,
After updating llvm+clang to r174701 by issuing
make -j8 happiness
The build fails with:
...
make[2]: Entering directory `/local/csaba/LLVM/build-release/tools/llvm-diff'
llvm[2]: Compiling DiffConsumer.cpp for Release+Asserts build
llvm[2]: Linking Release+Asserts executable lli (without symbols)
llvm[2]: Compiling CrashDebugger.cpp for Release+Asserts build
2017 Dec 20
0
[PATCH v20 0/7] Virtio-balloon Enhancement
On Wed, Dec 20, 2017 at 04:13:16PM +0000, Wang, Wei W wrote:
> On Wednesday, December 20, 2017 8:26 PM, Matthew Wilcox wrote:
> > unsigned long bit;
> > xb_preload(GFP_KERNEL);
> > xb_set_bit(xb, 700);
> > xb_preload_end();
> > bit = xb_find_set(xb, ULONG_MAX, 0);
> > assert(bit == 700);
>
> This above test will result in "!node with bitmap
2019 Jun 27
0
Re: [libnbd PATCH] generator: Add support for namespace constants
On 6/27/19 5:07 AM, Martin Kletzander wrote:
> This just defines the namespace, its contexts and related constants and the only
> supported one is currently base:allocation. The names of the constants are not
> very future-proof, but shorter than LIBNBD_META_NS_CONTEXT_BASE_ALLOCATION or
> similar.
>
> Currently the output looks like this:
>
> /* "base"
2020 Apr 09
2
[RFC] Usage of NDEBUG as a guard for non-assert debug code
...hether or not a build is a debug build, especially since no
> other options are provided. I appreciate your desire, but I think it’d be
> unfortunate if the build system grew yet another flag to control debugness.
>
>
>
> As far as I can tell, as it currently works, LLVM_ENABLE_ASSERTIONS
> just makes sure that NDEBUG is not defined, even in release builds. So if I
> do -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=TRUE, I’ll get an
> optimized build with no debug symbols but with asserts enabled, which in my
> mind isn’t a terribly useful thing to have.
>
FWIW...
2010 Jun 20
4
[LLVMdev] Disabling assertions in llvm.org releases
Currently LLVM releases, as downloaded from llvm.org, have assertions enabled.
(I'm told Apple ships LLVM with assertions disabled, which is why I mention
llvm.org here). What do people think of disabling assertions?
The advantage of disabling assertions is that LLVM runs faster. I don't know
how much faster. It also makes for fairer comparisons with gcc...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...t;
>> >
>> CXX="/home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++"
>> > -fsanitize=address --disable-profiling --enable-shared --enable-static
>> > --enable-targets=host --disable-bindings --disable-docs
>> --enable-assertions
>> > --enable-optimized --disable-threads
>> So you're building Clang with -fsanitize=address. Note: you won't be
>> able to build libsanitizer this way.
>>
>> > in a different directory (build_Release+Asserts+Sanitize). As you can
>> see
>> &...
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...>>> CXX="/home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++"
>>> > -fsanitize=address --disable-profiling --enable-shared --enable-static
>>> > --enable-targets=host --disable-bindings --disable-docs
>>> --enable-assertions
>>> > --enable-optimized --disable-threads
>>> So you're building Clang with -fsanitize=address. Note: you won't be
>>> able to build libsanitizer this way.
>>>
>>> > in a different directory (build_Release+Asserts+Sanitize). As you can
>...
2017 Dec 20
2
[PATCH v20 0/7] Virtio-balloon Enhancement
On Wednesday, December 20, 2017 8:26 PM, Matthew Wilcox wrote:
> On Wed, Dec 20, 2017 at 06:34:36PM +0800, Wei Wang wrote:
> > On 12/19/2017 10:05 PM, Tetsuo Handa wrote:
> > > I think xb_find_set() has a bug in !node path.
> >
> > I think we can probably remove the "!node" path for now. It would be
> > good to get the fundamental part in first, and
2017 Dec 20
2
[PATCH v20 0/7] Virtio-balloon Enhancement
On Wednesday, December 20, 2017 8:26 PM, Matthew Wilcox wrote:
> On Wed, Dec 20, 2017 at 06:34:36PM +0800, Wei Wang wrote:
> > On 12/19/2017 10:05 PM, Tetsuo Handa wrote:
> > > I think xb_find_set() has a bug in !node path.
> >
> > I think we can probably remove the "!node" path for now. It would be
> > good to get the fundamental part in first, and
2015 Oct 13
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
Hi,
On Linux I observed
[root at localhost poolalloc]# find . -name *.a
./Release+Asserts/lib/LLVMDataStructure.a
./Release+Asserts/lib/poolalloc.a
./Release+Asserts/lib/AssistDS.a
./Release+Asserts/lib/libpoolalloc_fl_rt.a
./Release+Asserts/lib/libpoolalloc_rt.a
./Release+Asserts/lib/libpa_pre_rt.a
./Release+Asserts/lib/libcount.a
On cygwin I observed
kpawar at KPAWAR-LT