[llvm-dev] [Question] Is the execution path of clang the same when using clang to compile the same code twice?

Zhiwei Chen via llvm-dev llvm-dev at lists.llvm.org
Sun Jan 17 19:06:57 PST 2021


> On Jan 14, 2021, at 3:33 PM, heng zhang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hello, everyone! I have a c code for HelloWorld,I use the command(clang -o0 HelloWorld.c -o helloworld) to compile the HelloWorld program twice. I find the clang has a different execution path, so I am very confused, I want to know what leads to this result. Thanks!

Passing '-###’ to clang will lead clang to print the detailed command.

--
Zhiwei Chen


More information about the llvm-dev mailing list