Add a new optimization option -Og
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 11 Nov 2016 17:29:56 +0000 (17:29 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 11 Nov 2016 17:29:56 +0000 (17:29 +0000)
commitd340ccc88a25af80a78882fb4d71544ec1f002b4
treea7d60ac4106cb89426861d87efb9a62ada2d2872
parent31ee8130684a0883177a1677ee62ac18f63f98be
Add a new optimization option -Og

Summary:
Just like gcc, we should have the -Og option as more and more software are using it:
https://llvm.org/bugs/show_bug.cgi?id=20765

Reviewers: echristo, dberlin, dblaikie, keith.walker.arm, rengolin

Subscribers: aprantl, friss, mehdi_amini, RKSimon, probinson, majnemer, cfe-commits

Differential Revision: https://reviews.llvm.org/D24998

llvm-svn: 286602
clang/docs/CommandGuide/clang.rst
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Preprocessor/init.c