Hi Reid,
llvm-as interprets "-" as using standard output (cout), so llvm-as <
input.ll -o - | opt has the same behavior. You'll actually find a
comment on it in llvm-as.cpp, so I guess I shouldn't hold out hope that
there's a good way to do it.
Michael
llvm-as interprets "-" as using standard output (cout), so llvm-as <
input.ll -o - | opt has the same behavior. You'll actually find a
comment on it in llvm-as.cpp, so I guess I shouldn't hold out hope that
there's a good way to do it.
Please see:
http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.13
We'd welcome patches to do this, and we can localize this in our system support library, but you'd have to figure out the magic to make this happen on win32.
-Chris