search for: mycollector

Displaying 4 results from an estimated 4 matches for "mycollector".

Did you mean: collector
2008 Jul 23
2
[LLVMdev] CollectorRegistry
Hey, I am a bit confused about the CollectorRegistry. I am attempting to write a garbage collector for LLVM, and the tiny example in the docs at http://llvm.org/releases/2.3/docs/GarbageCollection.html gives this line: CollectorRegistry::Add<MyCollector> X("mygc", "My bespoke garbage collector."); My question is now: Am I supposed to instantiate my collector manually, and tell LLVM about it, or can the Registry instantiate it, and it that case, how to go about that? I haven't been able to deduce a way to get a pointer t...
2008 Apr 29
0
[LLVMdev] getting started with IR needing GC
On Mon, 2008-04-28 at 21:39 -0500, Lane Schwartz wrote: > On Mon, Apr 28, 2008 at 8:31 PM, Gordon Henriksen > <gordonhenriksen at mac.com> wrote: > > On 2008-04-28, at 21:19, Lane Schwartz wrote: > > > > > On Mon, Apr 28, 2008 at 2:13 PM, Gordon Henriksen <gordonhenriksen at mac.com > > >> stack and discover the return address of each call frame.
2008 Apr 29
2
[LLVMdev] getting started with IR needing GC
On Mon, Apr 28, 2008 at 8:31 PM, Gordon Henriksen <gordonhenriksen at mac.com> wrote: > On 2008-04-28, at 21:19, Lane Schwartz wrote: > > > On Mon, Apr 28, 2008 at 2:13 PM, Gordon Henriksen <gordonhenriksen at mac.com > > > wrote: > > > >>> If so, then a Collector plugin would need to have info about every > >>> supported backend
2008 Jul 23
0
[LLVMdev] CollectorRegistry
On 2008-07-23, at 08:58, Simon Ask Ulsnes wrote: > I am attempting to write a garbage collector for LLVM, and the tiny > example in the docs at http://llvm.org/releases/2.3/docs/GarbageCollection.html > gives this line: > > CollectorRegistry::Add<MyCollector> > X("mygc", "My bespoke garbage collector."); > > My question is now: Am I supposed to instantiate my collector > manually, and tell LLVM about it, or can the Registry instantiate > it, and it that case, how to go about that? I haven't been able to...