[LLVMdev] How to see what's going on behind llc through clang/clang++

Ziqiang Patrick Huang ziqiang.huang1001 at gmail.com
Tue Apr 7 07:11:19 PDT 2015


Hi,

Is there a way to see what the default argument llc takes from
clang/clang++ ? I'm debugging my backend with a very simple c++ program.
Running through

*clang++ -target myTarget -S simple.cpp -o simple.s * (bug does no show up)

gives me different results from

*clang++ -target myTarget -S -emit-llvm -o simple.cpp -o simple.ll*
*llc simple.ll -o simple.s *(bug shows up)

Just trying to understand what's the difference here

Thanks,
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150407/ed40cbce/attachment.html>


More information about the llvm-dev mailing list