[PATCH] D24998: Add a new optimization option -Og
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 4 09:27:15 PDT 2016
dblaikie added inline comments.
> debug-options.c:21-22
>
> +// RUN: %clang -### -c -Og -g %s -target x86_64-linux-gnu 2>&1 \
> +// RUN: | FileCheck -check-prefix=G -check-prefix=G_GDB %s
> +
I don't think we need this test case: -Og doesn't actually have anything to do with -g mechanically speaking, so there's no need to test them together.
I'd probably go find wherever -O1 is tested in the driver, and test -Og there.
https://reviews.llvm.org/D24998
More information about the cfe-commits
mailing list