[Lldb-commits] [PATCH] D88583: [lldb] [test/Register] Add read/write tests for x87 regs

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 1 04:40:38 PDT 2020


mgorny added inline comments.


================
Comment at: lldb/test/Shell/Register/Inputs/x86-fp-write.cpp:23
+    "rex.w = 1\n\t"
+    "fxsave %2\n\t"
+    "fnstenv %1\n\t"
----------------
mgorny wrote:
> Now, here's the problem. This works just fine when built with clang but segfaults when built with gcc (apparently tries to access `0x0`).
Turned out to be an alignment issue. Will update the patch shortly.


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

https://reviews.llvm.org/D88583



More information about the lldb-commits mailing list