1 //===- MCSymbol.h - Machine Code Symbols ------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_MC_MCSYMBOL_H
11 #define LLVM_MC_MCSYMBOL_H
21 unsigned IsTemporary : 1;
24 MCSymbol(MCAtom *_Atom, const char *_Name, bool _IsTemporary)
25 : Atom(_Atom), Name(_Name), IsTemporary(_IsTemporary) {}
27 MCAtom *getAtom() { return Atom; }
29 const std::string &getName() { return Name; }
32 } // end namespace llvm