search for: secondaryallocator

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

2013 May 25
0
[LLVMdev] compiler-rt tests in cmake?
...ce system function (generally, from libc): diff --git a/lib/lsan/lsan_allocator.cc b/lib/lsan/lsan_allocator.cc index 9bf27b1..190dce8 100644 --- a/lib/lsan/lsan_allocator.cc +++ b/lib/lsan/lsan_allocator.cc @@ -43,7 +43,7 @@ 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/...
2013 May 25
2
[LLVMdev] compiler-rt tests in cmake?
...libc): > diff --git a/lib/lsan/lsan_allocator.cc b/lib/lsan/lsan_allocator.cc > index 9bf27b1..190dce8 100644 > --- a/lib/lsan/lsan_allocator.cc > +++ b/lib/lsan/lsan_allocator.cc > @@ -43,7 +43,7 @@ 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 > in...
2013 May 28
4
[LLVMdev] compiler-rt tests in cmake?
.../lib/lsan/lsan_allocator.cc >> > index 9bf27b1..190dce8 100644 >> > --- a/lib/lsan/lsan_allocator.cc >> > +++ b/lib/lsan/lsan_allocator.cc >> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >> > AllocatorCache, >> > SecondaryAllocator> Allocator; >> > >> > static Allocator allocator; >> > -static THREADLOCAL AllocatorCache cache; >> > +static /*THREADLOCAL*/ AllocatorCache cache; >> > >> > void InitializeAllocator() { >> > allocator.Init(); >> > diff...
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?
...lsan/lsan_allocator.cc b/lib/lsan/lsan_allocator.cc > > index 9bf27b1..190dce8 100644 > > --- a/lib/lsan/lsan_allocator.cc > > +++ b/lib/lsan/lsan_allocator.cc > > @@ -43,7 +43,7 @@ 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...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
....cc >>> > index 9bf27b1..190dce8 100644 >>> > --- a/lib/lsan/lsan_allocator.cc >>> > +++ b/lib/lsan/lsan_allocator.cc >>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >>> > AllocatorCache, >>> > SecondaryAllocator> Allocator; >>> > >>> > static Allocator allocator; >>> > -static THREADLOCAL AllocatorCache cache; >>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>> > >>> > void InitializeAllocator() { >>> > allocato...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
....cc >>> > index 9bf27b1..190dce8 100644 >>> > --- a/lib/lsan/lsan_allocator.cc >>> > +++ b/lib/lsan/lsan_allocator.cc >>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >>> > AllocatorCache, >>> > SecondaryAllocator> Allocator; >>> > >>> > static Allocator allocator; >>> > -static THREADLOCAL AllocatorCache cache; >>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>> > >>> > void InitializeAllocator() { >>> > allocato...
2013 May 29
2
[LLVMdev] compiler-rt tests in cmake?
...; index 9bf27b1..190dce8 100644 >>>> > --- a/lib/lsan/lsan_allocator.cc >>>> > +++ b/lib/lsan/lsan_allocator.cc >>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >>>> > AllocatorCache, >>>> > SecondaryAllocator> Allocator; >>>> > >>>> > static Allocator allocator; >>>> > -static THREADLOCAL AllocatorCache cache; >>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>> > >>>> > void InitializeAllocator() { >&...
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
...dce8 100644 >>>>> > --- a/lib/lsan/lsan_allocator.cc >>>>> > +++ b/lib/lsan/lsan_allocator.cc >>>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >>>>> > AllocatorCache, >>>>> > SecondaryAllocator> Allocator; >>>>> > >>>>> > static Allocator allocator; >>>>> > -static THREADLOCAL AllocatorCache cache; >>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>>> > >>>>> > void Initi...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...; index 9bf27b1..190dce8 100644 >>>> > --- a/lib/lsan/lsan_allocator.cc >>>> > +++ b/lib/lsan/lsan_allocator.cc >>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >>>> > AllocatorCache, >>>> > SecondaryAllocator> Allocator; >>>> > >>>> > static Allocator allocator; >>>> > -static THREADLOCAL AllocatorCache cache; >>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>> > >>>> > void InitializeAllocator() { >&...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...>>>> > --- a/lib/lsan/lsan_allocator.cc >>>>>> > +++ b/lib/lsan/lsan_allocator.cc >>>>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >>>>>> > AllocatorCache, >>>>>> > SecondaryAllocator> Allocator; >>>>>> > >>>>>> > static Allocator allocator; >>>>>> > -static THREADLOCAL AllocatorCache cache; >>>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>>>> > >>>>&...
2013 May 30
2
[LLVMdev] compiler-rt tests in cmake?
...> --- a/lib/lsan/lsan_allocator.cc >>>>>>> > +++ b/lib/lsan/lsan_allocator.cc >>>>>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >>>>>>> > AllocatorCache, >>>>>>> > SecondaryAllocator> Allocator; >>>>>>> > >>>>>>> > static Allocator allocator; >>>>>>> > -static THREADLOCAL AllocatorCache cache; >>>>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; >>>>>>> &g...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
.../lsan_allocator.cc > >>>>>>> > +++ b/lib/lsan/lsan_allocator.cc > >>>>>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, > >>>>>>> > AllocatorCache, > >>>>>>> > SecondaryAllocator> Allocator; > >>>>>>> > > >>>>>>> > static Allocator allocator; > >>>>>>> > -static THREADLOCAL AllocatorCache cache; > >>>>>>> > +static /*THREADLOCAL*/ AllocatorCache cache; > >&g...
2013 May 30
5
[LLVMdev] compiler-rt tests in cmake?
...cc >> >>>>>>> > +++ b/lib/lsan/lsan_allocator.cc >> >>>>>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator, >> >>>>>>> > AllocatorCache, >> >>>>>>> > SecondaryAllocator> Allocator; >> >>>>>>> > >> >>>>>>> > static Allocator allocator; >> >>>>>>> > -static THREADLOCAL AllocatorCache cache; >> >>>>>>> > +static /*THREADLOCAL*/ AllocatorCache ca...
2020 Jun 24
7
RFC: Sanitizer-based Heap Profiler
...e start of user allocation. u32 from_memalign : 1; // 23 bits available // 2-nd 4 bytes // Carry over from ASAN (comment copied verbatim). // This field is used for small sizes. For large sizes it is equal to // SizeClassMap::kMaxSize and the actual size is stored in the // SecondaryAllocator's metadata. u32 user_requested_size : 29; // 3-rd 4 bytes u32 cpu_id; // Allocation cpu id // 4-th 4 bytes // Allocation timestamp in ms from a baseline timestamp computed at // the start of profiling (to keep this within 32 bits). u32 timestamp_ms; // 5-th and 6-th 4 by...
2020 Jul 05
2
RFC: Sanitizer-based Heap Profiler
...gt; // 23 bits available > > > > // 2-nd 4 bytes > > // Carry over from ASAN (comment copied verbatim). > > // This field is used for small sizes. For large sizes it is equal to > > // SizeClassMap::kMaxSize and the actual size is stored in the > > // SecondaryAllocator's metadata. > > u32 user_requested_size : 29; > > > > // 3-rd 4 bytes > > u32 cpu_id; // Allocation cpu id > > > > // 4-th 4 bytes > > // Allocation timestamp in ms from a baseline timestamp computed at > > // the start of profiling (t...
2020 Jun 25
1
RFC: Sanitizer-based Heap Profiler
...gt; >   // 23 bits available > > >   // 2-nd 4 bytes > >   // Carry over from ASAN (comment copied verbatim). > >   // This field is used for small sizes. For large sizes it is equal to > >   // SizeClassMap::kMaxSize and the actual size is stored in the > >   // SecondaryAllocator's metadata. > >   u32 user_requested_size : 29; > > >   // 3-rd 4 bytes > >   u32 cpu_id; // Allocation cpu id > > >   // 4-th 4 bytes > >   // Allocation timestamp in ms from a baseline timestamp computed at > >   // the start of profiling (to keep thi...
2020 Jul 09
2
RFC: Sanitizer-based Heap Profiler
...;> >> // 2-nd 4 bytes >> >> // Carry over from ASAN (comment copied verbatim). >> >> // This field is used for small sizes. For large sizes it is equal to >> >> // SizeClassMap::kMaxSize and the actual size is stored in the >> >> // SecondaryAllocator's metadata. >> >> u32 user_requested_size : 29; >> >> // 3-rd 4 bytes >> >> u32 cpu_id; // Allocation cpu id >> >> // 4-th 4 bytes >> >> // Allocation timestamp in ms from a baseline timestamp computed at >> >>...