summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-xray
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2017-12-13 21:31:10 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2017-12-13 21:31:10 +0000
commit62602a476ae4921d50253ea8ee51cb970c64d695 (patch)
treea9b04a69780696ecdc06cc1b4e31e7ccef69c55d /llvm/tools/llvm-xray
parent5c0ab473f26d8bfd483f0c3a67b0d92b46f7f2d7 (diff)
downloadbcm5719-llvm-62602a476ae4921d50253ea8ee51cb970c64d695.tar.gz
bcm5719-llvm-62602a476ae4921d50253ea8ee51cb970c64d695.zip
Remove redundant includes from tools.
llvm-svn: 320631
Diffstat (limited to 'llvm/tools/llvm-xray')
-rw-r--r--llvm/tools/llvm-xray/llvm-xray.cc1
-rw-r--r--llvm/tools/llvm-xray/xray-color-helper.cc2
-rw-r--r--llvm/tools/llvm-xray/xray-extract.cc5
-rw-r--r--llvm/tools/llvm-xray/xray-graph.cc7
4 files changed, 0 insertions, 15 deletions
diff --git a/llvm/tools/llvm-xray/llvm-xray.cc b/llvm/tools/llvm-xray/llvm-xray.cc
index 34c453a1eb4..17cc9f90dd7 100644
--- a/llvm/tools/llvm-xray/llvm-xray.cc
+++ b/llvm/tools/llvm-xray/llvm-xray.cc
@@ -18,7 +18,6 @@
//
#include "xray-registry.h"
#include "llvm/Support/CommandLine.h"
-#include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
diff --git a/llvm/tools/llvm-xray/xray-color-helper.cc b/llvm/tools/llvm-xray/xray-color-helper.cc
index 7b6a73a5552..61314d3c766 100644
--- a/llvm/tools/llvm-xray/xray-color-helper.cc
+++ b/llvm/tools/llvm-xray/xray-color-helper.cc
@@ -10,8 +10,6 @@
// A class to get a color from a specified gradient.
//
//===----------------------------------------------------------------------===//
-#include <algorithm>
-#include <iostream>
#include "xray-color-helper.h"
#include "llvm/Support/FormatVariadic.h"
diff --git a/llvm/tools/llvm-xray/xray-extract.cc b/llvm/tools/llvm-xray/xray-extract.cc
index 6b72b81ab81..cd87798d0e6 100644
--- a/llvm/tools/llvm-xray/xray-extract.cc
+++ b/llvm/tools/llvm-xray/xray-extract.cc
@@ -13,16 +13,11 @@
//
//===----------------------------------------------------------------------===//
-#include <type_traits>
-#include <utility>
#include "func-id-helper.h"
#include "xray-registry.h"
-#include "llvm/BinaryFormat/ELF.h"
-#include "llvm/Object/ELF.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/CommandLine.h"
-#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Format.h"
diff --git a/llvm/tools/llvm-xray/xray-graph.cc b/llvm/tools/llvm-xray/xray-graph.cc
index 9a2f837e6a3..feb676331f8 100644
--- a/llvm/tools/llvm-xray/xray-graph.cc
+++ b/llvm/tools/llvm-xray/xray-graph.cc
@@ -11,19 +11,12 @@
// the trace.
//
//===----------------------------------------------------------------------===//
-#include <algorithm>
-#include <cassert>
-#include <cmath>
-#include <system_error>
-#include <utility>
#include "xray-graph.h"
#include "xray-registry.h"
#include "llvm/Support/ErrorHandling.h"
-#include "llvm/Support/FormatVariadic.h"
#include "llvm/XRay/InstrumentationMap.h"
#include "llvm/XRay/Trace.h"
-#include "llvm/XRay/YAMLXRayRecord.h"
using namespace llvm;
using namespace llvm::xray;
OpenPOWER on IntegriCloud