llvm-6502/include/llvm/MC/MCSection.h
Daniel Dunbar a11af531ec Start MCAsmStreamer implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74044 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 01:03:06 +00:00

29 lines
634 B
C++

//===- 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) {}
const std::string &getName() const { return Name; }
};
} // end namespace llvm
#endif