mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
remove trailing whitespace
llvm-svn: 115860
This commit is contained in:
parent
de3044dcd1
commit
f2c54c9cf3
@ -110,7 +110,7 @@ namespace {
|
|||||||
private:
|
private:
|
||||||
// Helpers for EmitStartOfAsmFile() and EmitEndOfAsmFile()
|
// Helpers for EmitStartOfAsmFile() and EmitEndOfAsmFile()
|
||||||
void emitAttributes();
|
void emitAttributes();
|
||||||
void emitAttribute(ARMBuildAttrs::AttrType attr, int v);
|
void emitAttribute(ARMBuildAttrs::AttrType attr, int v);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS);
|
void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS);
|
||||||
@ -491,12 +491,12 @@ void ARMAsmPrinter::EmitEndOfAsmFile(Module &M) {
|
|||||||
// Helper routines for EmitStartOfAsmFile() and EmitEndOfAsmFile()
|
// Helper routines for EmitStartOfAsmFile() and EmitEndOfAsmFile()
|
||||||
// FIXME:
|
// FIXME:
|
||||||
// The following seem like one-off assembler flags, but they actually need
|
// 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.
|
// Instead of subclassing the MCELFStreamer, we do the work here.
|
||||||
|
|
||||||
void ARMAsmPrinter::emitAttributes() {
|
void ARMAsmPrinter::emitAttributes() {
|
||||||
// FIXME: Add in ELF specific section handling here.
|
// FIXME: Add in ELF specific section handling here.
|
||||||
|
|
||||||
// FIXME: unify this: .cpu and CPUString with enum attributes
|
// FIXME: unify this: .cpu and CPUString with enum attributes
|
||||||
std::string CPUString = Subtarget->getCPUString();
|
std::string CPUString = Subtarget->getCPUString();
|
||||||
if (CPUString != "generic")
|
if (CPUString != "generic")
|
||||||
@ -531,9 +531,9 @@ void ARMAsmPrinter::emitAttributes() {
|
|||||||
|
|
||||||
void ARMAsmPrinter::emitAttribute(ARMBuildAttrs::AttrType attr, int v) {
|
void ARMAsmPrinter::emitAttribute(ARMBuildAttrs::AttrType attr, int v) {
|
||||||
if (OutStreamer.hasRawTextSupport()) {
|
if (OutStreamer.hasRawTextSupport()) {
|
||||||
OutStreamer.EmitRawText("\t.eabi_attribute " +
|
OutStreamer.EmitRawText("\t.eabi_attribute " +
|
||||||
Twine(attr) + ", " + Twine(v));
|
Twine(attr) + ", " + Twine(v));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
assert(0 && "ELF .ARM.attributes unimplemented");
|
assert(0 && "ELF .ARM.attributes unimplemented");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user