diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-08-22 07:22:36 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-22 07:22:36 +0000 |
| commit | 6860ac7375966b81791b009a4a60b12fea85c0ce (patch) | |
| tree | 303c56cf9fc2f25ad601d6748f6e84a520fe9141 /llvm/lib/MC/MCSymbol.cpp | |
| parent | 81c05241022578ed8b0e48f212e16d69b13deba3 (diff) | |
| download | bcm5719-llvm-6860ac7375966b81791b009a4a60b12fea85c0ce.tar.gz bcm5719-llvm-6860ac7375966b81791b009a4a60b12fea85c0ce.zip | |
llvm-mc: Clean up some handling of symbol/section association to be more correct
(external was really undefined and there wasn't an explicit representation for
absolute symbols).
- This still needs some cleanup to how the absolute "pseudo" section is dealt
with, but I haven't figured out the nicest approach yet.
llvm-svn: 79733
Diffstat (limited to 'llvm/lib/MC/MCSymbol.cpp')
| -rw-r--r-- | llvm/lib/MC/MCSymbol.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCSymbol.cpp b/llvm/lib/MC/MCSymbol.cpp index d032017ca47..3c9894b691b 100644 --- a/llvm/lib/MC/MCSymbol.cpp +++ b/llvm/lib/MC/MCSymbol.cpp @@ -12,6 +12,10 @@ using namespace llvm; +// Sentinel value for the absolute pseudo section. +const MCSection *MCSymbol::AbsolutePseudoSection = + reinterpret_cast<const MCSection *>(1); + /// NeedsQuoting - Return true if the string \arg Str needs quoting, i.e., it /// does not match [a-zA-Z_.][a-zA-Z0-9_.]*. // |

