mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 03:08:43 +00:00
8329a281b2
llvm-svn: 78505
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
//===- 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"
|
|
#include "llvm/MC/MCContext.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) {
|
|
return new (Ctx) MCSectionPIC16(Name, IsDirective, K, Ctx);
|
|
}
|
|
};
|
|
|
|
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif
|