termux-packages/packages/libllvm/lldb-source-Plugins-Process-Linux-NativeProcessLinux.cpp.patch

22 lines
768 B
Diff
Raw Normal View History

2021-04-26 16:28:42 +02:00
Reorder the header so that a preprocessor define from i686 doesn't cause
problems, undoing a change from llvm/llvm-project@2c4226f8a, see #6689 for more
info.
--- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
@@ -22,7 +22,6 @@
#include "NativeThreadLinux.h"
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
#include "Plugins/Process/Utility/LinuxProcMaps.h"
-#include "Procfs.h"
#include "lldb/Core/EmulateInstruction.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Host/Host.h"
@@ -46,6 +45,7 @@
#include "llvm/Support/Errno.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Threading.h"
+#include "Procfs.h"
#include <linux/unistd.h>
#include <sys/socket.h>