LLVM API Documentation
#include <MCSymbol.h>
Public Member Functions | |
| const MCSection * | getSection () const |
| void | setSection (const MCSection *S) |
| bool | isExternal () const |
| void | setExternal (bool Value) |
| const std::string & | getName () const |
| void | print (raw_ostream &OS) const |
| print - Print the value to the stream | |
| void | dump () const |
| dump - Print the value to stderr. | |
Friends | |
| class | MCContext |
If the symbol is defined/emitted into the current translation unit, the Section member is set to indicate what section it lives in. Otherwise, if it is a reference to an external entity, it has a null section.
Definition at line 32 of file MCSymbol.h.
| const MCSection* llvm::MCSymbol::getSection | ( | ) | const [inline] |
Definition at line 58 of file MCSymbol.h.
References ARMBuildAttrs::Section.
Referenced by llvm::MCValue::getAssociatedSection().
| void llvm::MCSymbol::setSection | ( | const MCSection * | S | ) | [inline] |
| bool llvm::MCSymbol::isExternal | ( | ) | const [inline] |
Definition at line 61 of file MCSymbol.h.
| void llvm::MCSymbol::setExternal | ( | bool | Value | ) | [inline] |
Definition at line 62 of file MCSymbol.h.
| const std::string& llvm::MCSymbol::getName | ( | ) | const [inline] |
| void MCSymbol::print | ( | raw_ostream & | OS | ) | const |
print - Print the value to the stream
Definition at line 40 of file MCSymbol.cpp.
References getName(), and NeedsQuoting().
Referenced by dump(), operator<<(), and llvm::MCValue::print().
| void MCSymbol::dump | ( | ) | const |
dump - Print the value to stderr.
Definition at line 47 of file MCSymbol.cpp.
References llvm::errs(), and print().
friend class MCContext [friend] |
Definition at line 50 of file MCSymbol.h.