aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/GlobalMerge.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-18 16:56:53 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-19 09:28:13 +0100
commitcdafe59f9528567df2e06c9f92f089791e3b9d5b (patch)
tree2c9e304fc3fce018d7082976bc6415b8747c4c03 /llvm/lib/CodeGen/GlobalMerge.cpp
parentd94bacbcf87a06abc0c1fc3405406399460debc3 (diff)
downloadllvm-cdafe59f9528567df2e06c9f92f089791e3b9d5b.zip
llvm-cdafe59f9528567df2e06c9f92f089791e3b9d5b.tar.gz
llvm-cdafe59f9528567df2e06c9f92f089791e3b9d5b.tar.bz2
TargetLoweringObjectFile.h - remove unnecessary includes. NFCI.
Replace with forward declarations and move includes down to source files where required. I also needed to move the TargetLoweringObjectFile::SectionForGlobal wrapper implementation down into TargetLoweringObjectFile.cpp
Diffstat (limited to 'llvm/lib/CodeGen/GlobalMerge.cpp')
-rw-r--r--llvm/lib/CodeGen/GlobalMerge.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GlobalMerge.cpp b/llvm/lib/CodeGen/GlobalMerge.cpp
index 600c717..6d736aa 100644
--- a/llvm/lib/CodeGen/GlobalMerge.cpp
+++ b/llvm/lib/CodeGen/GlobalMerge.cpp
@@ -83,6 +83,7 @@
#include "llvm/IR/Use.h"
#include "llvm/IR/User.h"
#include "llvm/InitializePasses.h"
+#include "llvm/MC/SectionKind.h"
#include "llvm/Pass.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"