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 | 77fe07a93aeb8feaf39b7d48ad8fc1e6c9e4c78e (patch) | |
tree | c4cf4326a7e60a2fcfe2caecb19881f794965fbe | |
parent | c337d6538a3bb5a9553afdf8d511ed7f50459787 (diff) | |
download | bcm5719-llvm-77fe07a93aeb8feaf39b7d48ad8fc1e6c9e4c78e.tar.gz bcm5719-llvm-77fe07a93aeb8feaf39b7d48ad8fc1e6c9e4c78e.zip |
Use a tab instead of space after .type, for consistency.
llvm-svn: 95272
-rw-r--r-- | llvm/lib/MC/MCAsmStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index 417ad3095d0..753709f621e 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/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"); |