diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-18 16:56:53 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-19 09:28:13 +0100 |
commit | cdafe59f9528567df2e06c9f92f089791e3b9d5b (patch) | |
tree | 2c9e304fc3fce018d7082976bc6415b8747c4c03 /llvm/lib/CodeGen/GlobalMerge.cpp | |
parent | d94bacbcf87a06abc0c1fc3405406399460debc3 (diff) | |
download | llvm-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.cpp | 1 |
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" |