[PATCH] D24998: Add a new optimization option -Og
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 27 13:36:20 PST 2017
aprantl added a comment.
In https://reviews.llvm.org/D24998#932061, @torarnv wrote:
> This seems to have hit a recent Xcode toolchain (Xcode 9.1 ?).
>
> Xcode now complains that "[app name] was compiled with optimization - stepping may behave oddly; variables may not be available.", when launching a debug session, which seems to be the case, debugging is all over the place :)
LLDB prints this warning whenever LLVM marks a compile unit with DW_AT_optimized (which LLVM does for everything but -O0).
> Reproduced on both macOS and iOS targets.
>
> See https://codereview.qt-project.org/#/c/212142/
https://reviews.llvm.org/D24998
More information about the cfe-commits
mailing list