当您运行铛LLVM编译器的帮助: “铛++”,例如:
clang++ -help,你会看到可能的参数可以传递:
OVERVIEW: clang LLVM compiler
USAGE: clang++ [options]
OPTIONS:
-### Print (but do not run) the commands to run
for this compilation
--analyze Run the static analyzer
-arcmt-migrate-emit-errors
Emit ARC errors even if the migrator can fix them
-arcmt-migrate-report-output
Output path for the plist report
--cuda-device-only Do device-side CUDA compilation only
--cuda-host-only Do host-side CUDA compilation only
--cuda-path= CUDA installation path
-cxx-isystem
Add directory to the C++ SYSTEM include search path
-c Only run preprocess, compile, and assemble steps
...
...
...
正如你所看到的-c标志的解释是:只运行预处理,编译和汇编步骤