diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-04-29 18:00:03 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-04-29 18:00:03 +0000 |
commit | 0eab5c4d85b4c4bb161bcdd959aa58a6f54415cc (patch) | |
tree | 9fbabf08ded997347b88ad63746aebc103199d5f /include/llvm/MC/MCSymbol.h | |
parent | 6db7fe873624dd5e5e21c263614df32577e40c95 (diff) | |
download | external_llvm-0eab5c4d85b4c4bb161bcdd959aa58a6f54415cc.zip external_llvm-0eab5c4d85b4c4bb161bcdd959aa58a6f54415cc.tar.gz external_llvm-0eab5c4d85b4c4bb161bcdd959aa58a6f54415cc.tar.bz2 |
MCExpr: Add FindAssociatedSection, which attempts to mirror the 'as' semantics
that associate sections with expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSymbol.h')
-rw-r--r-- | include/llvm/MC/MCSymbol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index 7da4d7c..0583ce5 100644 --- a/include/llvm/MC/MCSymbol.h +++ b/include/llvm/MC/MCSymbol.h @@ -56,6 +56,7 @@ namespace llvm { mutable unsigned IsUsed : 1; private: // MCContext creates and uniques these. + friend class MCExpr; friend class MCContext; MCSymbol(StringRef name, bool isTemporary) : Name(name), Section(0), Value(0), |