[LLVMdev] getModuleIdentifier() returns <stdin>
Jack Tzu-Han Hung
thhung at cs.princeton.edu
Tue Nov 18 07:20:03 PST 2008
I'm writing my own pass and use "opt" to launch it. In my pass, I'd like to
see the name of the module I'm working on, so I use getModuleIdentifier(),
trying to get the name such as "test.bc." But the result is always <stdin>.
Could anyone please help me on this?
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev