1 //===- PIC16Section.h - PIC16-specific section representation ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file declares the MCSection class.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_PIC16SECTION_H
15 #define LLVM_PIC16SECTION_H
17 #include "llvm/MC/MCSection.h"
21 class MCSectionPIC16 : public MCSection {
24 MCSectionPIC16(const StringRef &name, SectionKind K)
25 : MCSection(K), Name(name) {
30 const std::string &getName() const { return Name; }
32 static MCSectionPIC16 *Create(const StringRef &Name,
33 SectionKind K, MCContext &Ctx);
35 virtual void PrintSwitchToSection(const TargetAsmInfo &TAI,
36 raw_ostream &OS) const;
39 } // end namespace llvm