aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCSymbol.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-01 07:03:41 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-01 07:03:41 +0000
commitd6bb283de9f81428762f13b7f6bae31adaba5768 (patch)
tree805b9ca5009c0089e4d931e12aac2cb8466aae93 /include/llvm/MC/MCSymbol.h
parent165e8344d833147268810bbec18276dafe0122b9 (diff)
downloadexternal_llvm-d6bb283de9f81428762f13b7f6bae31adaba5768.zip
external_llvm-d6bb283de9f81428762f13b7f6bae31adaba5768.tar.gz
external_llvm-d6bb283de9f81428762f13b7f6bae31adaba5768.tar.bz2
Tweak MCSymbol doxyments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSymbol.h')
-rw-r--r--include/llvm/MC/MCSymbol.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h
index a6a9dff..235e661 100644
--- a/include/llvm/MC/MCSymbol.h
+++ b/include/llvm/MC/MCSymbol.h
@@ -30,8 +30,8 @@ namespace llvm {
class MCSymbol {
/// Name - The name of the symbol.
std::string Name;
- /// Section - The section the symbol is defined in, or null if not defined
- /// in this translation unit.
+ /// Section - The section the symbol is defined in, or null if the symbol
+ /// has not been defined in the associated translation unit.
MCSection *Section;
/// IsTemporary - True if this is an assembler temporary label, which
@@ -39,7 +39,9 @@ namespace llvm {
/// "Lfoo" or ".foo".
unsigned IsTemporary : 1;
- /// IsExternal - ?
+ /// IsExternal - True if this symbol has been implicitly defined as an
+ /// external, for example by using it in an expression without ever emitting
+ /// it as a label. The @var Section for an external symbol is always null.
unsigned IsExternal : 1;
private: // MCContext creates and uniques these.