diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-10-06 22:46:47 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-10-06 22:46:47 +0000 |
commit | fa7fb64fad0e46e7329e4ba84a1edec5e979c31a (patch) | |
tree | 63aa0a653437ab366587acdc5118ac6bdec9e30d /lib/Target/ARM/ARMAsmPrinter.cpp | |
parent | def9ac48b779a4cb0b1d1486286cda157a2fe86e (diff) | |
download | external_llvm-fa7fb64fad0e46e7329e4ba84a1edec5e979c31a.zip external_llvm-fa7fb64fad0e46e7329e4ba84a1edec5e979c31a.tar.gz external_llvm-fa7fb64fad0e46e7329e4ba84a1edec5e979c31a.tar.bz2 |
remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 4246dc8..7951cfa 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -110,7 +110,7 @@ namespace { private: // Helpers for EmitStartOfAsmFile() and EmitEndOfAsmFile() void emitAttributes(); - void emitAttribute(ARMBuildAttrs::AttrType attr, int v); + void emitAttribute(ARMBuildAttrs::AttrType attr, int v); public: void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS); @@ -491,12 +491,12 @@ void ARMAsmPrinter::EmitEndOfAsmFile(Module &M) { // Helper routines for EmitStartOfAsmFile() and EmitEndOfAsmFile() // FIXME: // The following seem like one-off assembler flags, but they actually need -// to appear in the .ARM.attributes section in ELF. +// to appear in the .ARM.attributes section in ELF. // Instead of subclassing the MCELFStreamer, we do the work here. void ARMAsmPrinter::emitAttributes() { // FIXME: Add in ELF specific section handling here. - + // FIXME: unify this: .cpu and CPUString with enum attributes std::string CPUString = Subtarget->getCPUString(); if (CPUString != "generic") @@ -531,9 +531,9 @@ void ARMAsmPrinter::emitAttributes() { void ARMAsmPrinter::emitAttribute(ARMBuildAttrs::AttrType attr, int v) { if (OutStreamer.hasRawTextSupport()) { - OutStreamer.EmitRawText("\t.eabi_attribute " + + OutStreamer.EmitRawText("\t.eabi_attribute " + Twine(attr) + ", " + Twine(v)); - + } else { assert(0 && "ELF .ARM.attributes unimplemented"); } |