heng zhang via llvm-dev
2021-Jan-14 07:33 UTC
[llvm-dev] [Question] Is the execution path of clang the same when using clang to compile the same code twice?
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!
Zhiwei Chen via llvm-dev
2021-Jan-18 03:06 UTC
[llvm-dev] [Question] Is the execution path of clang the same when using clang to compile the same code twice?
> 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