[Lldb-commits] [PATCH] D57213: [Scalar] Add support for 512-bits values.

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 25 12:54:51 PST 2019


aprantl added inline comments.


================
Comment at: lldb/source/Utility/RegisterValue.cpp:159
     case 32:
+    case 64:
       if (buffer.length % sizeof(uint64_t) == 0) {
----------------
I'm curious, everything else in this patch refers to 512, how does this fit in?


================
Comment at: lldb/source/Utility/Scalar.cpp:168
+      swapped_words[6] = apint_words[1];
+      swapped_words[7] = apint_words[0];
+      apint_words = swapped_words;
----------------
std::reverse perhaps?


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

https://reviews.llvm.org/D57213





More information about the lldb-commits mailing list