[LLVMdev] passing parameters for a analysis pass

Reid Kleckner
Thu, 08 Jul 2010 02:55:59 -0000

You can use llvm::sys::Path::GetTemporaryDirectory() and put the
inputs and outputs there.

Reid

On Wed, Jul 7, 2010 at 4:23 PM, Guoliang Jin <jingl1345 at gmail.com>
wrote:
>  Hi,
>
> I want to pass parameter to a analysis pass. My pass need to use some
> result from some other tools. I can hard code a file name into my pass,
> and let my pass read input there, but what if I do not want the file
> name to be hard coded?
>
> Is it possible to do that? If yes, where can I find some documentation
> about it?
>
> Thanks,
> Guoliang
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>