[Lldb-commits] [PATCH] D90128: [lldb] [Process/FreeBSDRemote] Fix #include for i386 compat
    Michał Górny via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Sun Oct 25 16:32:50 PDT 2020
    
    
  
mgorny created this revision.
mgorny added reviewers: labath, krytarowski, emaste.
Herald added a subscriber: pengfei.
mgorny requested review of this revision.
Include <x86/fpu.h> rather than <machine/fpu.h>, as the latter is not
present on i386.
https://reviews.llvm.org/D90128
Files:
  lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
Index: lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
===================================================================
--- lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
+++ lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
@@ -11,7 +11,7 @@
 #include "NativeRegisterContextFreeBSD_x86_64.h"
 
 // clang-format off
-#include <machine/fpu.h>
+#include <x86/fpu.h>
 #include <x86/specialreg.h>
 #include <cpuid.h>
 // clang-format on
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90128.300560.patch
Type: text/x-patch
Size: 537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201025/4ca922e5/attachment.bin>
    
    
More information about the lldb-commits
mailing list