I tried
llc -load
/localhome/aggarwa4/llvm27/llvm-obj/projects/poolalloc/Debug/lib/libCodegen.so
--help
But this does not show my pass. It says it is an unknown command line argument.
Arushi
On Thu, May 12, 2011 at 11:21 AM, John Criswell <criswell at illinois.edu>
wrote:> On 5/12/11 11:17 AM, Arushi Aggarwal wrote:
>>
>> What is the correct way to register/run a machine function pass, so
>> that it can be dynamically loaded?
>
> Machine function passes are loaded into llc to be used for code generation,
> from the looks of it.
>
> Does this answer your question?
>
> -- John T.
>
>> Thanks,
>> Arushi
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>