fixathon planned changes to this revision.
fixathon marked 2 inline comments as done.
fixathon added a comment.

Planning to undo checking the return value of FindLineEntryByAddress() since 
it's causing an issue on some platform, and re-evaluate the underlying issue.



================
Comment at: lldb/source/Commands/CommandObjectThread.cpp:66
+      case 'c':
+        if (option_arg.getAsInteger(0, m_count) || (m_count < 0)) {
           m_count = UINT32_MAX;
----------------
labath wrote:
> fixathon wrote:
> > hawkinsw wrote:
> > > Hope this doesn't screw up Phabricator, but I just wanted to confirm with 
> > > @clayborg that, yes, that is specified: 
> > > 
> > > http://eel.is/c++draft/expr.log.and
> > Thanks for your review and posting the link to the spec!
> There is an `llvm::to_integer`. One of the motivations for it was to change 
> the awkwardness to the getAsInteger return value. It hasn't taken the world 
> by storm because it wasn't followed by a conversion of a critical mass of 
> call sites, but you should feel free to use it.
@labath Thanks for the pointer to llvm::to_integer


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131983/new/

https://reviews.llvm.org/D131983

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to