summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCSection.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-01 21:30:49 +0000
committerChris Lattner <sabre@nondot.org>2009-08-01 21:30:49 +0000
commit0064e85050e3a324aa66ee29af56546e0c31f6cc (patch)
tree301ceb460d87c4d760b622a6f64b9b7568de3c07 /include/llvm/MC/MCSection.h
parentf17008844adfeb3716969a6004e28dcf176a38b2 (diff)
downloadllvm-0064e85050e3a324aa66ee29af56546e0c31f6cc.tar.gz
llvm-0064e85050e3a324aa66ee29af56546e0c31f6cc.tar.bz2
llvm-0064e85050e3a324aa66ee29af56546e0c31f6cc.tar.xz
fix a layering violation by moving SectionKind out to its own header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSection.h')
-rw-r--r--include/llvm/MC/MCSection.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h
index a622bce838..e9f7666a6a 100644
--- a/include/llvm/MC/MCSection.h
+++ b/include/llvm/MC/MCSection.h
@@ -16,9 +16,7 @@
#include <string>
#include "llvm/ADT/StringRef.h"
-
-// FIXME: HORRIBLE HACK: major layering violation to get an enum.
-#include "llvm/Target/TargetLoweringObjectFile.h"
+#include "llvm/MC/SectionKind.h"
namespace llvm {
class MCContext;