search for: msan_allocator

Displaying 18 results from an estimated 18 matches for "msan_allocator".

2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
...MOVE_MEM(mem) \ + ((uptr)(mem) & ~0x80000000ULL) +#define MEM_TO_SHADOW(mem) (MOVE_MEM((mem)) + 0x10000000ULL) +#define SHADOW_TO_ORIGIN(mem) (((uptr)(mem)) + 0x10000000ULL) + #elif SANITIZER_LINUX && SANITIZER_WORDSIZE == 64 #ifdef MSAN_LINUX_X86_64_OLD_MAPPING - lib/msan/msan_allocator.cc: diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc index b7d3947..dae6d72 100644 --- a/lib/msan/msan_allocator.cc +++ b/lib/msan/msan_allocator.cc @@ -49,7 +49,15 @@ struct MsanMapUnmapCallback { typedef SizeClassAllocator32<0, SANITIZER_MMAP_RANGE_SIZE, sizeof(Metadata)...
2013 May 25
0
[LLVMdev] compiler-rt tests in cmake?
...typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, SecondaryAllocator> Allocator; static Allocator allocator; -static THREADLOCAL AllocatorCache cache; +static /*THREADLOCAL*/ AllocatorCache cache; void InitializeAllocator() { allocator.Init(); diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc index 7435843..3e6adb6 100644 --- a/lib/msan/msan_allocator.cc +++ b/lib/msan/msan_allocator.cc @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, Seconda...
2013 May 25
2
[LLVMdev] compiler-rt tests in cmake?
...gt; AllocatorCache, > SecondaryAllocator> Allocator; > > static Allocator allocator; > -static THREADLOCAL AllocatorCache cache; > +static /*THREADLOCAL*/ AllocatorCache cache; > > void InitializeAllocator() { > allocator.Init(); > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc > index 7435843..3e6adb6 100644 > --- a/lib/msan/msan_allocator.cc > +++ b/lib/msan/msan_allocator.cc > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; > typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, >...
2013 May 28
4
[LLVMdev] compiler-rt tests in cmake?
...t;> > >> > static Allocator allocator; >> > -static THREADLOCAL AllocatorCache cache; >> > +static /*THREADLOCAL*/ AllocatorCache cache; >> > >> > void InitializeAllocator() { >> > allocator.Init(); >> > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc >> > index 7435843..3e6adb6 100644 >> > --- a/lib/msan/msan_allocator.cc >> > +++ b/lib/msan/msan_allocator.cc >> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; >> > typedef CombinedAllocator&l...
2013 May 24
2
[LLVMdev] compiler-rt tests in cmake?
I blame this line in lsan/lit_tests/lit.cfg: # Setup attributes common for all compiler-rt projects. compiler_rt_lit_cfg = os.path.join(llvm_src_root, "projects", "compiler-rt", "lib", "lit.common.cfg") On Fri, May 24, 2013 at 2:53 PM, Alexey Samsonov <samsonov at google.com>wrote: > > On Fri, May 24,
2013 May 27
0
[LLVMdev] compiler-rt tests in cmake?
...ndaryAllocator> Allocator; > > > > static Allocator allocator; > > -static THREADLOCAL AllocatorCache cache; > > +static /*THREADLOCAL*/ AllocatorCache cache; > > > > void InitializeAllocator() { > > allocator.Init(); > > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc > > index 7435843..3e6adb6 100644 > > --- a/lib/msan/msan_allocator.cc > > +++ b/lib/msan/msan_allocator.cc > > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; > > typedef CombinedAllocator<PrimaryAllocator,...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...; static Allocator allocator; >>> > -static THREADLOCAL AllocatorCache cache; >>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>> > >>> > void InitializeAllocator() { >>> > allocator.Init(); >>> > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc >>> > index 7435843..3e6adb6 100644 >>> > --- a/lib/msan/msan_allocator.cc >>> > +++ b/lib/msan/msan_allocator.cc >>> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; >>> > typedef...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...; static Allocator allocator; >>> > -static THREADLOCAL AllocatorCache cache; >>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>> > >>> > void InitializeAllocator() { >>> > allocator.Init(); >>> > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc >>> > index 7435843..3e6adb6 100644 >>> > --- a/lib/msan/msan_allocator.cc >>> > +++ b/lib/msan/msan_allocator.cc >>> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; >>> > typedef...
2013 May 29
2
[LLVMdev] compiler-rt tests in cmake?
...cator; >>>> > -static THREADLOCAL AllocatorCache cache; >>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>> > >>>> > void InitializeAllocator() { >>>> > allocator.Init(); >>>> > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc >>>> > index 7435843..3e6adb6 100644 >>>> > --- a/lib/msan/msan_allocator.cc >>>> > +++ b/lib/msan/msan_allocator.cc >>>> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; >>&g...
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
...gt; > -static THREADLOCAL AllocatorCache cache; >>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>>> > >>>>> > void InitializeAllocator() { >>>>> > allocator.Init(); >>>>> > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc >>>>> > index 7435843..3e6adb6 100644 >>>>> > --- a/lib/msan/msan_allocator.cc >>>>> > +++ b/lib/msan/msan_allocator.cc >>>>> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAlloc...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...cator; >>>> > -static THREADLOCAL AllocatorCache cache; >>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>> > >>>> > void InitializeAllocator() { >>>> > allocator.Init(); >>>> > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc >>>> > index 7435843..3e6adb6 100644 >>>> > --- a/lib/msan/msan_allocator.cc >>>> > +++ b/lib/msan/msan_allocator.cc >>>> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<> SecondaryAllocator; >>&g...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...EADLOCAL AllocatorCache cache; >>>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>>>> > >>>>>> > void InitializeAllocator() { >>>>>> > allocator.Init(); >>>>>> > diff --git a/lib/msan/msan_allocator.cc b/lib/msan/msan_allocator.cc >>>>>> > index 7435843..3e6adb6 100644 >>>>>> > --- a/lib/msan/msan_allocator.cc >>>>>> > +++ b/lib/msan/msan_allocator.cc >>>>>> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<&gt...
2016 Sep 07
2
Test failures building RELEASE_3.9.0/final
...e=0x2111e20 <__msan::fallback_allocator_cache>, this=0x212c9a0 <__msan::allocator>) at ../projects/compiler-rt/lib/msan/../sanitizer_common/sanitizer_allocator.h:1324 #4 __msan::MsanAllocate (zeroise=false, alignment=8, size=82, stack=0x7fffffffcf10) at ../projects/compiler-rt/lib/msan/msan_allocator.cc:125 #5 __msan::MsanReallocate (stack=stack at entry=0x7fffffffcf10, old_p=old_p at entry=0x0, new_size=new_size at entry=82, alignment=alignment at entry=8, zeroise=zeroise at entry=false) at ../projects/compiler-rt/lib/msan/msan_allocator.cc:180 #6 0x0000000000444bce in __interceptor_mall...
2013 May 30
2
[LLVMdev] compiler-rt tests in cmake?
...che cache; >>>>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>>>>> > >>>>>>> > void InitializeAllocator() { >>>>>>> > allocator.Init(); >>>>>>> > diff --git a/lib/msan/msan_allocator.cc >>>>>>> > b/lib/msan/msan_allocator.cc >>>>>>> > index 7435843..3e6adb6 100644 >>>>>>> > --- a/lib/msan/msan_allocator.cc >>>>>>> > +++ b/lib/msan/msan_allocator.cc >>>>>>> > @...
2016 Sep 07
2
-fsanitize=memory failing on 3.9.0
...210de20 <__msan::fallback_allocator_cache>, this=0x21289a0 <__msan::allocator>) at ../projects/compiler-rt/lib/msan/../sanitizer_common/sanitizer_allocator.h:1324 #4 __msan::MsanAllocate (zeroise=false, alignment=8, size=73, stack=0x7fffffffcea0) at ../projects/compiler-rt/lib/msan/msan_allocator.cc:125 #5 __msan::MsanReallocate (stack=stack at entry=0x7fffffffcea0, old_p=old_p at entry=0x0, new_size=new_size at entry=73, alignment=alignment at entry=8, zeroise=zeroise at entry=false) at ../projects/compiler-rt/lib/msan/msan_allocator.cc:180 #6 0x000000000044475e in __interceptor_mall...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...gt;>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; > >>>>>>> > > >>>>>>> > void InitializeAllocator() { > >>>>>>> > allocator.Init(); > >>>>>>> > diff --git a/lib/msan/msan_allocator.cc > >>>>>>> > b/lib/msan/msan_allocator.cc > >>>>>>> > index 7435843..3e6adb6 100644 > >>>>>>> > --- a/lib/msan/msan_allocator.cc > >>>>>>> > +++ b/lib/msan/msan_allocator.cc > >>&g...
2016 Sep 07
4
Test failures building RELEASE_3.9.0/final
I've "successfully" built 3.9.0 release but when I run "ninja check-all" I got 208 Unexpected failures: Expected Passes : 33997 Expected Failures : 198 Unsupported Tests : 685 Unexpected Failures: 208 Below is the log I captured running "time ninja check-all | tee ninja-check-all.txt" https://drive.google.com/open?id=0B-KTY7zi7eZHU2hGYTRtd01QZjA
2013 May 30
5
[LLVMdev] compiler-rt tests in cmake?
...gt; > +static /*THREADLOCAL*/ AllocatorCache cache; >> >>>>>>> > >> >>>>>>> > void InitializeAllocator() { >> >>>>>>> > allocator.Init(); >> >>>>>>> > diff --git a/lib/msan/msan_allocator.cc >> >>>>>>> > b/lib/msan/msan_allocator.cc >> >>>>>>> > index 7435843..3e6adb6 100644 >> >>>>>>> > --- a/lib/msan/msan_allocator.cc >> >>>>>>> > +++ b/lib/msan/msan_allocator.cc...