[Lldb-commits] [PATCH] D59991: [Linux/x86] Fix writing of non-gpr registers on newer processors

Joseph Tremoulet via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 23 08:42:23 PDT 2019


JosephTremoulet added inline comments.


================
Comment at: lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp:282
+  // Then fetch the maximum size of the area.
+  if (!__get_cpuid_count(0x0d, 0, &eax, &ebx, &ecx, &edx))
+    return sizeof(FPR);
----------------
This doesn't compile for me (on stock Ubuntu 16.04, so using gcc/libstdc++ 5.4.0), since my cpuid.h doesn't have __get_cpuid_count.  Do I just need to update/fix my toolset, or is that a supported one that we should change this code to accommodate?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59991





More information about the lldb-commits mailing list