spyffe requested changes to this revision.
spyffe added a comment.
This revision now requires changes to proceed.

Looks fine to me, but let's put in an assertion to make sure our assumptions in 
making this change are not violated.


================
Comment at: source/Expression/Materializer.cpp:1282
@@ +1281,3 @@
+
+        map.WriteScalarToMemory(load_addr, scalar, scalar.GetByteSize(), 
write_error);
+
----------------
Let's put an //lldbassert// in here to make sure `scalar.GetByteSize() == 
register_data.GetByteSize()`.
I know it ought to be, but I'm a little bit wary of that code.



Repository:
  rL LLVM

http://reviews.llvm.org/D17167



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

Reply via email to