0

Apple LLVM similar to GCC has some major optimization flags: O1, O2, O3 etc. For GCC I can watch exactly command-line flags here and some of them are the same for LLVM.

How to know all the flags for LLVM?

  • The [LLVM](http://llvm.org/) C and C++ frontend is [CLang](http://clang.llvm.org/) which has a [user manual](http://clang.llvm.org/docs/UsersManual.html). – Some programmer dude Dec 01 '16 at 15:15
  • @Someprogrammerdude, saw that - no information about optimization options. And besides, I'm expecting that someone know kind of console command which shows that options for exactly version of LLVM. –  Dec 01 '16 at 15:23
  • 1
    `clang -help` provides a list of all switches. – Frank C. Dec 02 '16 at 09:34

0 Answers0