Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] [lld] memory leaks."
2012 Oct 23
1
[LLVMdev] LLD archive library design
Hi Nick,
Here is my understanding,
1) lld-core creates a ReaderOptionsArchive class with the (Reader,
CommandLine options flag)
2) lld-core creates an object of type ReaderArchive(ReaderOptions), that
users would subclass (off ArchiveLibraryFile)
a) GNUArchiveLibrary
b) BSDArchiveLibrary
b) MachOArchiveLibrary
c) COFFArchiveLibrary
3) ReaderArchive has two functions
2012 Oct 19
0
[LLVMdev] LLD archive library design
On Oct 19, 2012, at 3:41 PM, Shankar Easwaran wrote:
> Hi,
>
> I have started to work on support for Reading archive libraries in lld and thought of using the llvm/lib/ArchiveReader for this.
>
> The ArchiveReader doesnot fully support GNU archive libraries (thin archives), do you think we should continue using llvm/lib/ArchiveReader ?
>
> I was chatting with Michael and
2012 Oct 04
7
[LLVMdev] TableGen: Requesting feedback for "TGContext"
Hi all, I'm sure that the last thing that you want to think about is
TableGen's guts, but I'm pursuing a course in bringing TableGen up to
snuff with the rest of LLVM.
Basically, I would like to introduce a "TGContext" class (by analogy
with LLVMContext) to harbor a proper unique'd type system and BumpPtr
allocate all of TableGen's data (RecTy's, Record's,
2005 Apr 02
2
[LLVMdev] Running Pool Allocated programs
Hello,
I am trying to run a program optimized with the Pool Allocation, but I am receiving this error:
====================
libpoolalloc.so: undefined symbol: _ZTIN4llvm16EquivClassGraphsE -load request ignored.
*** 4 DYNAMIC POOLS INITIALIZED ***
*** 4 DYNAMIC POOLS ALLOCATED FROM ***
MaxHeapSize = 0.062500KB HeapSizeAtExit = 0.062500KB NOTE: only valid if using
Heuristic=AllPools and no
2015 Mar 17
6
[LLVMdev] On LLD performance
On Mon, Mar 16, 2015 at 1:54 AM, Davide Italiano <davide at freebsd.org> wrote:
>
> Shankar's parallel for per-se didn't introduce any performance benefit
> (or regression).
> If the change I propose is safe, I would like to see Shankar's change
> in (and this on top of it).
> I have other related changes coming next, but I would like to tackle
> them one at
2015 Mar 20
2
[LLVMdev] On LLD performance
Rafael,
Your latest benchmark results look great. LLD took 1.38 seconds where gold
--threads takes 0.85 seconds. It needs to be faster, but that's not too bad.
On Thu, Mar 19, 2015 at 10:13 AM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> > Here's an update.
> >
> > After http://reviews.llvm.org/D8372 , I updated the profiling data.
> >
>
2005 Apr 03
2
[LLVMdev] Running Pool Allocated programs
Thanks for the answer
I am trying to test the PA with a program very similar to the one used as an example in the paper
located here:
http://llvm.cs.uiuc.edu/pubs/2003-04-29-DataStructureAnalysisTR.html
The program is as follows:
==========================
struct list { struct list *Next; };
struct list *makeList (int Num) {
struct list *New = malloc ( sizeof ( struct list ) );
2015 Mar 18
5
[LLVMdev] On LLD performance
On Mon, Mar 16, 2015 at 11:00 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Mon, Mar 16, 2015 at 10:52 PM, Davide Italiano <davide at freebsd.org>
> wrote:
>>
>> On Mon, Mar 16, 2015 at 1:54 AM, Davide Italiano <davide at freebsd.org>
>> wrote:
>> >
>> > Shankar's parallel for per-se didn't introduce any
2012 Oct 19
2
[LLVMdev] LLD archive library design
Hi,
I have started to work on support for Reading archive libraries in lld
and thought of using the llvm/lib/ArchiveReader for this.
The ArchiveReader doesnot fully support GNU archive libraries (thin
archives), do you think we should continue using llvm/lib/ArchiveReader ?
I was chatting with Michael and looks like there have been discussions
and small sketches done on reading archive
2012 Oct 04
0
[LLVMdev] TableGen: Requesting feedback for "TGContext"
On Oct 3, 2012, at 7:07 PM, Sean Silva <silvas at purdue.edu> wrote:
> Hi all, I'm sure that the last thing that you want to think about is
> TableGen's guts, but I'm pursuing a course in bringing TableGen up to
> snuff with the rest of LLVM.
>
> Basically, I would like to introduce a "TGContext" class (by analogy
> with LLVMContext) to harbor a
2012 Oct 04
0
[LLVMdev] TableGen: Requesting feedback for "TGContext"
On Oct 3, 2012, at 7:07 PM, Sean Silva <silvas at purdue.edu> wrote:
> Hi all, I'm sure that the last thing that you want to think about is
> TableGen's guts, but I'm pursuing a course in bringing TableGen up to
> snuff with the rest of LLVM.
>
> Basically, I would like to introduce a "TGContext" class (by analogy
> with LLVMContext) to harbor a
2012 Oct 04
2
[LLVMdev] TableGen: Requesting feedback for "TGContext"
Thanks for the feedback!
>> Does anybody have anything else they think should go into TGContext or
>> any other responsibilities it should have? Or any feedback about the
>> idea in general?
>
> All memory allocations should go into its bump pointer, RecordKeeper should as well. Any other global state that exist should also.
Sounds good.
>> I'm also hoping
2005 Apr 02
0
[LLVMdev] Running Pool Allocated programs
On Sat, 2 Apr 2005, Ricardo wrote:
> Hello,
> I am trying to run a program optimized with the Pool Allocation, but I am receiving this error:
>
> ====================
>
> *** 4 DYNAMIC POOLS INITIALIZED ***
>
> *** 4 DYNAMIC POOLS ALLOCATED FROM ***
>
> MaxHeapSize = 0.062500KB HeapSizeAtExit = 0.062500KB NOTE: only valid if using
> Heuristic=AllPools and no
2014 Dec 03
2
[LLVMdev] [lld] need to figure out if file is an archive member and record more information...
On 12/2/2014 11:19 PM, Rui Ueyama wrote:
> Do you have to know whether a MemoryBuffer was in a library or not during
> parsing that MemoryBuffer?
Yes, I need to know that while parsing the buffer too.
>
> If not, we could just set a library name to a File in
> FileArchive::instantiateMember after we call _registry.parseFile.
>
> On Tue, Dec 2, 2014 at 9:08 PM, Shankar Easwaran
2012 Oct 05
0
[LLVMdev] TableGen: Requesting feedback for "TGContext"
Why do you want to eliminate dynamic_cast and exceptions from tablegen?
This is just a tool run over a few thousand lines of td files.
You can't measure the difference in performance if you eliminate
dynamic_cast and exceptions.
I think it was a huge mistake to not use RTTI and exceptions in the
compiler itself but I'm sure that old horse has been beaten to death
long ago.
But for
2005 Apr 03
0
[LLVMdev] Running Pool Allocated programs
On Sat, 2 Apr 2005, Ricardo wrote:
> After applying the PA to it, the output is something like this:
...
> My question is: why is this malloc necessary?
> ltmp_2_5 = malloc(4u);
> Shouldn't be the result a program with this malloc replaced by poolalloc?
> Should I include a special flag to achieve this?
Ah, sorry, my memory was wrong. The default is to perform the
2012 Oct 04
0
[LLVMdev] TableGen: Requesting feedback for "TGContext"
It won't cause a negative effect, go for it! Dynamic_cast is realllly slow compared to dyn_cast, it is worth the memory.
-Chris
On Oct 3, 2012, at 9:39 PM, Sean Silva <silvas at purdue.edu> wrote:
> Thanks for the feedback!
>
>>> Does anybody have anything else they think should go into TGContext or
>>> any other responsibilities it should have? Or any
2008 Feb 04
3
[LLVMdev] 2.2 garbage collector questions
Hello,
i want to implement a common lisp subset using llvm for fun. This
requires the use of a garbage collector. I read the docs, but many
things are still unclear to me.
1. how are collectors supposed to find all living objects? there is
llvm.gcroot for marking objects on the stack,but how do collectors crawl
heap objects? I did not see a way to provide custom mark functions. Are
2005 Apr 03
1
[LLVMdev] Running Pool Allocated programs
Thanks Chris! That was causing me some confusion. Now it's producing a more meaningful output:
poolinit((&l2_GlobalPool), 4u, 4u);
poolinit((&l2_GlobalPool1), 4u, 4u);
l5_tmp_2E_0_2E_i = poolalloc((&l2_GlobalPool), 4u);
l6_tmp_2E_7_2E_i2 = l1_makeList((&l2_GlobalPool1), 0);
*(&((struct l_struct_2E_list *)l5_tmp_2E_0_2E_i)->field0) = l6_tmp_2E_7_2E_i2;
2014 Dec 03
2
[LLVMdev] [lld] need to figure out if file is an archive member and record more information...
Hi Nick,
Currently the Reader doesnot have a way to figure out that a file that
is being parsed is part of an archive.
For linker script support this is needed to match a rule that matches
only if the file is from an archive library (or a member of an archive.
For example :-
SECTIONS {
.myoutputsection : {
libc.a : { *(.text) }
printf.o : { *(.rodata) }
}
}
The colon is used to