summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCSection.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-23 22:01:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-23 22:01:43 +0000
commitecc63f8687c4eb746b69336316685fe9b224adfb (patch)
tree5c007193c7d40c2fb192548c9e27828547f381e6 /include/llvm/MC/MCSection.h
parent87ea1912ef06c0d85956cfc3d4b86a0a88490c3f (diff)
downloadllvm-ecc63f8687c4eb746b69336316685fe9b224adfb.tar.gz
llvm-ecc63f8687c4eb746b69336316685fe9b224adfb.tar.bz2
llvm-ecc63f8687c4eb746b69336316685fe9b224adfb.tar.xz
Start flushing out MCContext.
- Lives inside new library lib/MC (LLVMMC.a) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSection.h')
-rw-r--r--include/llvm/MC/MCSection.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h
new file mode 100644
index 0000000000..236f0687e7
--- /dev/null
+++ b/include/llvm/MC/MCSection.h
@@ -0,0 +1,26 @@
+//===- MCSection.h - Machine Code Sections ----------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_MC_MCSECTION_H
+#define LLVM_MC_MCSECTION_H
+
+#include <string>
+
+namespace llvm {
+
+ class MCSection {
+ std::string Name;
+
+ public:
+ MCSection(const char *_Name) : Name(_Name) {}
+ };
+
+} // end namespace llvm
+
+#endif