[LLVMdev] passing parameters for a analysis pass
reid.kleckner at gmail.com
Wed Jul 7 19:55:59 PDT 2010
You can use llvm::sys::Path::GetTemporaryDirectory() and put the
inputs and outputs there.
On Wed, Jul 7, 2010 at 4:23 PM, Guoliang Jin <jingl1345 at gmail.com> wrote:
> 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?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev