aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16Section.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PIC16/PIC16Section.h')
-rw-r--r--lib/Target/PIC16/PIC16Section.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16Section.h b/lib/Target/PIC16/PIC16Section.h
new file mode 100644
index 0000000..c7bc989
--- /dev/null
+++ b/lib/Target/PIC16/PIC16Section.h
@@ -0,0 +1,35 @@
+//===- PIC16Section.h - PIC16-specific section representation ---*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file declares the MCSection class.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_PIC16SECTION_H
+#define LLVM_PIC16SECTION_H
+
+#include "llvm/MC/MCSection.h"
+
+namespace llvm {
+
+ class MCSectionPIC16 : public MCSection {
+ MCSectionPIC16(const StringRef &Name, bool IsDirective, SectionKind K,
+ MCContext &Ctx) : MCSection(Name, IsDirective, K, Ctx) {}
+ public:
+
+ static MCSectionPIC16 *Create(const StringRef &Name, bool IsDirective,
+ SectionKind K, MCContext &Ctx);
+
+ };
+
+
+
+} // end namespace llvm
+
+#endif