[llvm-commits] [llvm] r115860 - /llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
Jim Grosbach
grosbach at apple.com
Wed Oct 6 15:46:47 PDT 2010
Author: grosbach
Date: Wed Oct 6 17:46:47 2010
New Revision: 115860
URL: http://llvm.org/viewvc/llvm-project?rev=115860&view=rev
Log:
remove trailing whitespace
Modified:
llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp?rev=115860&r1=115859&r2=115860&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp Wed Oct 6 17:46:47 2010
@@ -110,7 +110,7 @@
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 @@
// 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::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");
}
More information about the llvm-commits
mailing list