[llvm-commits] [llvm] r74599 - /llvm/trunk/include/llvm/MC/MCSymbol.h
Daniel Dunbar
daniel at zuster.org
Wed Jul 1 00:03:42 PDT 2009
Author: ddunbar
Date: Wed Jul 1 02:03:41 2009
New Revision: 74599
URL: http://llvm.org/viewvc/llvm-project?rev=74599&view=rev
Log:
Tweak MCSymbol doxyments.
Modified:
llvm/trunk/include/llvm/MC/MCSymbol.h
Modified: llvm/trunk/include/llvm/MC/MCSymbol.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCSymbol.h?rev=74599&r1=74598&r2=74599&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCSymbol.h (original)
+++ llvm/trunk/include/llvm/MC/MCSymbol.h Wed Jul 1 02:03:41 2009
@@ -30,8 +30,8 @@
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 @@
/// "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.
More information about the llvm-commits
mailing list