diff options
author | Dan Gohman <gohman@apple.com> | 2010-02-04 01:42:13 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-02-04 01:42:13 +0000 |
commit | a2eca82159f529d85dc1db249ce650b05c6cb83d (patch) | |
tree | 5c60eeb9b6fa672330a9997b1058f349065a9942 | |
parent | 2ee9af548de46851e458a5fe4fec07c4e1a315ab (diff) | |
download | external_llvm-a2eca82159f529d85dc1db249ce650b05c6cb83d.zip external_llvm-a2eca82159f529d85dc1db249ce650b05c6cb83d.tar.gz external_llvm-a2eca82159f529d85dc1db249ce650b05c6cb83d.tar.bz2 |
Use a tab instead of space after .type, for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95272 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MCAsmStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 417ad30..753709f 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -241,7 +241,7 @@ void MCAsmStreamer::EmitSymbolAttribute(MCSymbol *Symbol, case MCSA_ELF_TypeCommon: /// .type _foo, STT_COMMON # aka @common case MCSA_ELF_TypeNoType: /// .type _foo, STT_NOTYPE # aka @notype assert(MAI.hasDotTypeDotSizeDirective() && "Symbol Attr not supported"); - OS << "\t.type " << *Symbol << ',' + OS << "\t.type\t" << *Symbol << ',' << ((MAI.getCommentString()[0] != '@') ? '@' : '%'); switch (Attribute) { default: assert(0 && "Unknown ELF .type"); |