projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c514ec
)
Correct character prepended to global symbols ('.'), use Mangler consistently
author
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 19 Aug 2004 16:33:56 +0000
(16:33 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 19 Aug 2004 16:33:56 +0000
(16:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15917
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPC64AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPC64AsmPrinter.cpp
b/lib/Target/PowerPC/PPC64AsmPrinter.cpp
index 0e694ea47eb3b1601036c899983f7bf37013fa4f..37a1d070bf2507ade2c7e35956929ce51f12633b 100644
(file)
--- a/
lib/Target/PowerPC/PPC64AsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPC64AsmPrinter.cpp
@@
-491,7
+491,7
@@
void Printer::printOp(const MachineOperand &MO,
GlobalValue *GV = MO.getGlobal();
if (Function *F = dyn_cast<Function>(GV)) {
- O <<
"." << F->getName(
);
+ O <<
Mang->getValueName(F
);
} else if (GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) {
// output the label name
O << GVToLabelMap[GVar];
@@
-666,7
+666,7
@@
bool Printer::doInitialization(Module &M) {
O << '\n';
}
- Mang = new Mangler(M, "
_
");
+ Mang = new Mangler(M, "
.
");
return false; // success
}