summaryrefslogtreecommitdiff
path: root/tools/lli
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-13 08:04:33 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-13 08:04:33 +0000
commit9f20a4c6cea7315af0e01ac58e5fdbb9c0eb8006 (patch)
treeb44c79933513cebe3d15d58d44d2c735b7c771ee /tools/lli
parente2dc71d312fb9e46ad89429bade1f221ea8e67ff (diff)
Re-sort #include lines again, prior to moving headers around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r--tools/lli/ChildTarget/ChildTarget.cpp1
-rw-r--r--tools/lli/ChildTarget/Unix/ChildTarget.inc2
-rw-r--r--tools/lli/RemoteMemoryManager.h3
-rw-r--r--tools/lli/RemoteTargetExternal.cpp2
-rw-r--r--tools/lli/RemoteTargetExternal.h8
-rw-r--r--tools/lli/Unix/RemoteTargetExternal.inc2
6 files changed, 6 insertions, 12 deletions
diff --git a/tools/lli/ChildTarget/ChildTarget.cpp b/tools/lli/ChildTarget/ChildTarget.cpp
index c177a047db1..dba8966cf48 100644
--- a/tools/lli/ChildTarget/ChildTarget.cpp
+++ b/tools/lli/ChildTarget/ChildTarget.cpp
@@ -1,5 +1,4 @@
#include "llvm/Config/config.h"
-
#include "../RemoteTargetMessage.h"
#include <assert.h>
#include <map>
diff --git a/tools/lli/ChildTarget/Unix/ChildTarget.inc b/tools/lli/ChildTarget/Unix/ChildTarget.inc
index cc95810dc8c..c71e422c1ac 100644
--- a/tools/lli/ChildTarget/Unix/ChildTarget.inc
+++ b/tools/lli/ChildTarget/Unix/ChildTarget.inc
@@ -12,9 +12,9 @@
//
//===----------------------------------------------------------------------===//
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
diff --git a/tools/lli/RemoteMemoryManager.h b/tools/lli/RemoteMemoryManager.h
index 5d0456f5098..b9691f44705 100644
--- a/tools/lli/RemoteMemoryManager.h
+++ b/tools/lli/RemoteMemoryManager.h
@@ -15,6 +15,7 @@
#ifndef REMOTEMEMORYMANAGER_H
#define REMOTEMEMORYMANAGER_H
+#include "RemoteTarget.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ExecutionEngine/JITMemoryManager.h"
@@ -22,8 +23,6 @@
#include "llvm/Support/Memory.h"
#include <utility>
-#include "RemoteTarget.h"
-
namespace llvm {
class RemoteMemoryManager : public JITMemoryManager {
diff --git a/tools/lli/RemoteTargetExternal.cpp b/tools/lli/RemoteTargetExternal.cpp
index f8c581d5747..809488c9e39 100644
--- a/tools/lli/RemoteTargetExternal.cpp
+++ b/tools/lli/RemoteTargetExternal.cpp
@@ -13,10 +13,8 @@
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
-
#include "RemoteTarget.h"
#include "RemoteTargetExternal.h"
-
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Memory.h"
diff --git a/tools/lli/RemoteTargetExternal.h b/tools/lli/RemoteTargetExternal.h
index a4bfad2f12f..63548eb52df 100644
--- a/tools/lli/RemoteTargetExternal.h
+++ b/tools/lli/RemoteTargetExternal.h
@@ -15,18 +15,16 @@
#ifndef LLI_REMOTETARGETEXTERNAL_H
#define LLI_REMOTETARGETEXTERNAL_H
-#include "llvm/Config/config.h"
-
+#include "RemoteTarget.h"
+#include "RemoteTargetMessage.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
+#include "llvm/Config/config.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Memory.h"
#include <stdlib.h>
#include <string>
-#include "RemoteTarget.h"
-#include "RemoteTargetMessage.h"
-
namespace llvm {
class RemoteTargetExternal : public RemoteTarget {
diff --git a/tools/lli/Unix/RemoteTargetExternal.inc b/tools/lli/Unix/RemoteTargetExternal.inc
index 9c1a4cc3155..481c1d51569 100644
--- a/tools/lli/Unix/RemoteTargetExternal.inc
+++ b/tools/lli/Unix/RemoteTargetExternal.inc
@@ -12,10 +12,10 @@
//
//===----------------------------------------------------------------------===//
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
+#include <unistd.h>
namespace {