aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCSection.h
blob: 341f7f01514441b0c51f2fb9cd729ca113635b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//===- 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