[Lldb-commits] [PATCH] D111052: [lldb] [gdb-remote] Correct st_dev values in vFile:fstat packet

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 5 04:01:08 PDT 2021


mgorny added a comment.

In D111052#3042181 <https://reviews.llvm.org/D111052#3042181>, @labath wrote:

> So I guess all that's left to do is to add some cast to placate compilers ?

Nah, my original logic checks for overflow and replaces the value with `0` if one occurs (which IMO is more correct than truncating the value).


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

https://reviews.llvm.org/D111052



More information about the lldb-commits mailing list