[Lldb-commits] [lldb] 7acf2e2 - [lldb] [Process/FreeBSDRemote] Fix #include for i386 compat

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 26 03:56:15 PDT 2020


Author: Michał Górny
Date: 2020-10-26T11:53:26+01:00
New Revision: 7acf2e2e1e8f7e2eac2dd5bbf7d752ba7ad4e79c

URL: https://github.com/llvm/llvm-project/commit/7acf2e2e1e8f7e2eac2dd5bbf7d752ba7ad4e79c
DIFF: https://github.com/llvm/llvm-project/commit/7acf2e2e1e8f7e2eac2dd5bbf7d752ba7ad4e79c.diff

LOG: [lldb] [Process/FreeBSDRemote] Fix #include for i386 compat

Include <x86/fpu.h> rather than <machine/fpu.h>, as the latter is not
present on i386.

Differential Revision: https://reviews.llvm.org/D90128

Added: 
    

Modified: 
    lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp b/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
index 3460f53a2934..ac83aeda997c 100644
--- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
+++ b/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


        


More information about the lldb-commits mailing list