termux-packages/packages/libllvm/lldb-source-Plugins-Process-Linux-NativeProcessLinux.cpp.patch
2021-10-23 23:27:34 +05:30

22 lines
761 B
Diff

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/ModuleSpec.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostProcess.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>