[cfe-dev] Devirtualization of calls

Anton Korobeynikov anton at korobeynikov.info
Sat Sep 3 06:43:31 PDT 2011


Hello

> $ clang -emit-llvm devirtualize.cpp -o devirtualize.o
> clang: error: 'i686-pc-mingw32': unable to pass LLVM bit-code files to
> linker
>
> How could I get the LLVM IR ? (under textual representation, but I can use
> llvm-dis if I get bytecode I think)
You forgot to add -c cmdline option

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-dev mailing list