aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCSymbol.h
blob: 66215b17b4a7f42a9da5b1766221c1d3e9714f57 (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
29
30
//===- MCSymbol.h - Machine Code Symbols ------------------------*- 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_MCSYMBOL_H
#define LLVM_MC_MCSYMBOL_H

#include <string>

namespace llvm {
  class MCAtom;

  class MCSymbol {
    MCAtom *Atom;
    std::string Name;
    unsigned IsTemporary : 1;

  public:
    MCSymbol(MCAtom *_Atom, const char *_Name, bool _IsTemporary) 
      : Atom(_Atom), Name(_Name), IsTemporary(_IsTemporary) {}
  };

} // end namespace llvm

#endif