Displaying 2 results from an estimated 2 matches for "bcf7c912".
2013 Oct 05
0
[LLVMdev] How to supply a non-default constructor to RegisterPass ?
On Sep 30, 2013, at 10:11 PM, Dirk Schroetter <dschroetter at googlemail.com> wrote:
> Folks,
>
> I did read the documentation but I am at a loss still.
>
> I do have the following:
>
> Pass *createFooPass (char *foo1) {
> return new FooPass (foo1);
> }
>
> static RegisterPass<FooPass> X("foo-pass", "foo", false, true);
>
2013 Oct 01
2
[LLVMdev] How to supply a non-default constructor to RegisterPass ?
Folks,
I did read the documentation but I am at a loss still.
I do have the following:
Pass *createFooPass (char *foo1) {
return new FooPass (foo1);
}
static RegisterPass<FooPass> X("foo-pass", "foo", false, true);
Where exactly do I supply the non-default crore in this example ?
Thanks
/Dirk