On 4/21/13 4:37 PM, reed kotler wrote:> Some of the IR constructors require an LLVMContext parameter.
>
> Should this just come from say Module M.getContext() ???
In general, yes. When building LLVM IR, you want to create objects in
the same context as the Module to which they will belong.
-- John T.
>
> Tia.
>
> Reed
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev