[Lldb-commits] [PATCH] D83256: [lldb] Fix unaligned load in DataExtractor

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 6 23:09:55 PDT 2020


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

sizeof(double) instead of sizeof(float) for the double tests.



================
Comment at: lldb/unittests/Utility/DataExtractorTest.cpp:358
+TEST(DataExtractorTest, GetDouble) {
+  if (sizeof(float) != 8)
+    return;
----------------
sizeof(double)


================
Comment at: lldb/unittests/Utility/DataExtractorTest.cpp:385
+TEST(DataExtractorTest, GetDoubleUnaligned) {
+  if (sizeof(float) != 8)
+    return;
----------------
sizeof(double)


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

https://reviews.llvm.org/D83256





More information about the lldb-commits mailing list