Options to show details of the compilation process

Hi,

As I know, ‘-debug’ is used in ‘llc’ to show a bunch of debugging printouts. I am wondering if there were a equivalent option in clang? If not how could I know what happens during compilation?

Yours,

Winter

As a starter for 5: -v will show you what steps the compiler performs (what new processes it starts, and what the arguments are).

      As I know, '-debug' is used in 'llc' to show a bunch of debugging
printouts. I am wondering if there were a equivalent option in clang? If not
how could I know what happens during compilation?

Are you looking for `clang -mllvm -debug`?