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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D24998: Add a new... Tor Arne Vestbø via Phabricator via cfe-commits
    • [PATCH] D24998: Add ... Adrian Prantl via Phabricator via cfe-commits

Reply via email to