diff options
Diffstat (limited to 'lib/CodeGen/MachOCodeEmitter.cpp')
-rw-r--r-- | lib/CodeGen/MachOCodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachOCodeEmitter.cpp b/lib/CodeGen/MachOCodeEmitter.cpp index a076a3c..ccc801c 100644 --- a/lib/CodeGen/MachOCodeEmitter.cpp +++ b/lib/CodeGen/MachOCodeEmitter.cpp @@ -60,7 +60,7 @@ void MachOCodeEmitter::startFunction(MachineFunction &MF) { // Create symbol for function entry const GlobalValue *FuncV = MF.getFunction(); - MachOSym FnSym(FuncV, MOW.Mang->getValueName(FuncV), MOS->Index, TAI); + MachOSym FnSym(FuncV, MOW.Mang->getMangledName(FuncV), MOS->Index, TAI); FnSym.n_value = getCurrentPCOffset(); // add it to the symtab. |