[LLVMdev] storing module level info

Reed Kotler rkotler at mips.com
Wed Jan 22 08:22:05 PST 2014


On 01/21/2014 05:05 PM, reed kotler wrote:
> During ISel lowering, there are some stubs I realize that I need to emit
> during AsmPrinter.
>
> The question is: where to store that information?
>
> As a hack it could be stored  in Subtarget.
>
> If there is a reasonable place to put it, it could be store in Module.
>
> Any ideas?
>
> It's just a list of functions that I need to generate stubs for.
> I know the possible elements of the list. It's  a hardcoded list.
>
> Any ideas?
>
> TIA.
>
> Reed

I suppose that I could use module metadata for this.




More information about the llvm-dev mailing list