[Lldb-commits] [PATCH] D24331: Fix about a dozen compile warnings

Ilia K via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 8 01:05:23 PDT 2016


ki.stfu marked an inline comment as done.

================
Comment at: source/Target/StackFrame.cpp:1425
@@ -1423,3 +1424,3 @@
 
-  if (offset >= pointee->GetByteSize()) {
+  if (offset > 0 && uint64_t(offset) >= pointee->GetByteSize()) {
     int64_t index = offset / pointee->GetByteSize();
----------------
Good point. Thanks!


https://reviews.llvm.org/D24331





More information about the lldb-commits mailing list