title: -emit-llvm can not be used while linking
body: <p>I am trying to get LLVM bitcode <code>Example.bc</code> using <code>-emit-llvm -S</code> option.
  but I am building my file using a static library</p>
  <p><code>CXXFLAGS += -emit-llvm -S </code></p>
  <p><code> @Clang++ $(CFLAGS) $(CXXFLAGS) Example.cpp -L$(LIB_PATH) -lpthread</code></p>
  <p>I get the error -emit-llvm can not be used while linking  . How can I get I get LLVM IR while linking to static library ?</p>