mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
Use tabs more consistently in assembler pseudo-ops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
286d56935c
commit
825811dc83
@ -129,7 +129,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
O << "\t.linkonce discard\n";
|
||||
} else {
|
||||
EmitAlignment(4, F); // FIXME: This should be parameterized somewhere.
|
||||
O << "\t.weak " << CurrentFnName << "\n";
|
||||
O << "\t.weak\t" << CurrentFnName << "\n";
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -142,7 +142,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetELF())
|
||||
O << "\t.type " << CurrentFnName << ",@function\n";
|
||||
O << "\t.type\t" << CurrentFnName << ",@function\n";
|
||||
else if (Subtarget->isTargetCygMing()) {
|
||||
O << "\t.def\t " << CurrentFnName
|
||||
<< ";\t.scl\t" <<
|
||||
|
@ -168,7 +168,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetELF())
|
||||
O << "\t.type " << name << ",@object\n";
|
||||
O << "\t.type\t" << name << ",@object\n";
|
||||
|
||||
if (C->isNullValue()) {
|
||||
if (I->hasExternalLinkage()) {
|
||||
@ -228,7 +228,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||
name +
|
||||
",\"aw\",@progbits");
|
||||
SwitchToDataSection(SectionName.c_str(), I);
|
||||
O << "\t.weak " << name << "\n";
|
||||
O << "\t.weak\t" << name << "\n";
|
||||
}
|
||||
break;
|
||||
case GlobalValue::AppendingLinkage:
|
||||
@ -305,7 +305,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||
O << name << ":\t\t\t\t" << TAI->getCommentString() << " " << I->getName()
|
||||
<< "\n";
|
||||
if (TAI->hasDotTypeDotSizeDirective())
|
||||
O << "\t.size " << name << ", " << Size << "\n";
|
||||
O << "\t.size\t" << name << ", " << Size << "\n";
|
||||
// If the initializer is a extern weak symbol, remember to emit the weak
|
||||
// reference!
|
||||
if (const GlobalValue *GV = dyn_cast<GlobalValue>(C))
|
||||
|
Loading…
Reference in New Issue
Block a user