[Lldb-commits] [PATCH] D66739: [lldb] Add -w flag for expressions to print compiler warnings even if expression succeeds.
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 26 06:37:28 PDT 2019
teemperor created this revision.
teemperor added a reviewer: LLDB.
Herald added subscribers: lldb-commits, abidh.
Herald added a project: LLDB.
teemperor edited the summary of this revision.
Currently if you evaluate for example "expression int" the user just sees nothing and has no way of knowing what
exactly could have gone wrong. This patch adds a `-w` flag to the expression command that causes compiler warnings
to be emitted even if the command succeeds. This was the agreed workaround to solve rdar://12788008.
The checkerror flag that was added to lldbtest was necessary as we usually don't check the error output of commands
when they succeed (but we have to do now).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11354 bytes
Desc: not available
More information about the lldb-commits