diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-15 23:55:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-15 23:55:16 +0000 |
commit | ae9b9eed18a84d777165bd97326845d7407b4422 (patch) | |
tree | 08ffd02559425af1cfc00d88743e0a030295607a /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | fb47255591d938ea0e7ad2ad5f00f800949bf959 (diff) | |
download | bcm5719-llvm-ae9b9eed18a84d777165bd97326845d7407b4422.tar.gz bcm5719-llvm-ae9b9eed18a84d777165bd97326845d7407b4422.zip |
supplement CurrentFnName with CurrentFnSym, which will eventually
replace it. Upgrade Alpha, Blackfin, and part of CellSPU to not
use mangler anymore. CellSPU needs more invasive surgery.
llvm-svn: 93589
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 7293ec0ba9e..16eec0c44a3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -224,6 +224,7 @@ bool AsmPrinter::doFinalization(Module &M) { void AsmPrinter::SetupMachineFunction(MachineFunction &MF) { // What's my mangled name? CurrentFnName = Mang->getMangledName(MF.getFunction()); + CurrentFnSym = GetGlobalValueSymbol(MF.getFunction()); IncrementFunctionNumber(); if (VerboseAsm) |