diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-24 16:36:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-24 16:36:52 +0000 |
commit | f7dafd33d5830eeb50bbeac39b80f544407594de (patch) | |
tree | 2f7bbd0617383358d330a4c2def2a26ec301e4ad /lib/MC | |
parent | 7926286fbb6bb74e8c609f394d32351baf654303 (diff) | |
download | external_llvm-f7dafd33d5830eeb50bbeac39b80f544407594de.zip external_llvm-f7dafd33d5830eeb50bbeac39b80f544407594de.tar.gz external_llvm-f7dafd33d5830eeb50bbeac39b80f544407594de.tar.bz2 |
MCStreamer: Add a few more "symbol attributes".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCAsmStreamer.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index efc9e65..33d72e2 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -102,8 +102,17 @@ void MCAsmStreamer::EmitSymbolAttribute(MCSymbol *Symbol, SymbolAttr Attribute) { switch (Attribute) { case Global: OS << ".globl"; break; - case Weak: OS << ".weak"; break; + case Hidden: OS << ".hidden"; break; + case IndirectSymbol: OS << ".indirect_symbol"; break; + case Internal: OS << ".internal"; break; + case LazyReference: OS << ".lazy_reference"; break; + case NoDeadStrip: OS << ".no_dead_strip"; break; case PrivateExtern: OS << ".private_extern"; break; + case Protected: OS << ".protected"; break; + case Reference: OS << ".reference"; break; + case Weak: OS << ".weak"; break; + case WeakDefinition: OS << ".weak_definition"; break; + case WeakReference: OS << ".weak_reference"; break; } OS << ' ' << Symbol->getName() << '\n'; |