[llvm-dev] Why can't clang -emit-llvm when linking?
Lorenzo Laneve via llvm-dev
llvm-dev at lists.llvm.org
Mon May 30 05:33:34 PDT 2016
When I try to do
clang++ main.cpp -emit-llvm
without -S, clang says that he can’t:
clang: error: -emit-llvm cannot be used when linking
why can’t it emit the IR in a complete compilation process?
Is there a particular technical reason or just to avoid confusing jobs?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev