1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/lib/Target/PIC16/MCSectionPIC16.h

42 lines
1.1 KiB
C
Raw Normal View History

2009-08-15 08:14:07 +02:00
//===- MCSectionPIC16.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.
//
//===----------------------------------------------------------------------===//
//
2009-08-15 08:14:07 +02:00
// This file declares the MCSectionPIC16 class.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_PIC16SECTION_H
#define LLVM_PIC16SECTION_H
#include "llvm/MC/MCSection.h"
namespace llvm {
class MCSectionPIC16 : public MCSection {
std::string Name;
MCSectionPIC16(const StringRef &name, SectionKind K)
: MCSection(K), Name(name) {
}
public:
const std::string &getName() const { return Name; }
2009-08-22 01:08:09 +02:00
static MCSectionPIC16 *Create(const StringRef &Name,
SectionKind K, MCContext &Ctx);
virtual void PrintSwitchToSection(const TargetAsmInfo &TAI,
raw_ostream &OS) const;
};
} // end namespace llvm
#endif