[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...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160530/98a83834/attachment.html>
More information about the llvm-dev
mailing list