* manually concatenate two string literals

* remove some dead code: darwin doesn't support dllimport linkage.

llvm-svn: 75066
This commit is contained in:
Chris Lattner 2009-07-08 23:09:14 +00:00
parent 5edd90cbbc
commit 3c043404e0
1 changed files with 1 additions and 3 deletions

View File

@ -52,7 +52,7 @@ void X86ATTAsmPrinter::PrintPICBaseSymbol() const {
if (Subtarget->isTargetDarwin())
O << "\"L" << getFunctionNumber() << "$pb\"";
else if (Subtarget->isTargetELF())
O << ".Lllvm$" << getFunctionNumber() << "." "$piclabel";
O << ".Lllvm$" << getFunctionNumber() << ".$piclabel";
else
assert(0 && "Don't know how to print PIC label!\n");
}
@ -504,8 +504,6 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
printSuffixedName(Name, "$non_lazy_ptr");
}
} else {
if (GV->hasDLLImportLinkage())
O << "__imp_";
O << Name;
}