Displaying 14 results from an estimated 14 matches for "allocatorcache".
2013 May 25
0
[LLVMdev] compiler-rt tests in cmake?
...pose you need to wrap/replace 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....
2013 May 25
2
[LLVMdev] compiler-rt tests in cmake?
...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...
2013 May 28
4
[LLVMdev] compiler-rt tests in cmake?
...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() {
>>...
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?
...t; 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();
>...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...n/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 Init...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...n/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 Init...
2013 May 29
2
[LLVMdev] compiler-rt tests in cmake?
...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;
>>>> >
>...
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
...cator.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;
>&g...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...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;
>>>> >
>...
2013 May 30
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*/ Allocato...
2013 May 30
2
[LLVMdev] compiler-rt tests in cmake?
...t; 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 /*TH...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...0dce8 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;
> >>>>>&...
2013 May 30
5
[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;
>> &...