[LLVMdev] getModuleIdentifier() returns <stdin>

Matthijs Kooijman matthijs at stdin.nl
Tue Nov 18 08:10:48 PST 2008


Hi Jack,

> opt -mypass <input.bc >output.bc
> 
> So I think "input.bc" is what I should expect, right?
Nope, this way you're only telling the filename to your shell, opt doesn't see
it.

You should run
	opt input.bc -mypass -o output.bc
instead.

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081118/e0a07e4f/attachment.sig>


More information about the llvm-dev mailing list