From: Devang Patel Date: Mon, 18 Jan 2010 23:27:28 +0000 (+0000) Subject: llvm::Function name is the linkage name. If it has a '01' as a prefix then probably... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d0d327aeb2c823ce0363a9b584662f9b03c52a6;p=clang llvm::Function name is the linkage name. If it has a '01' as a prefix then probably there is a reason. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93808 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index cc97d19a5a..aa43261da0 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1008,9 +1008,6 @@ void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, QualType FnType, } else { // Use llvm function name as linkage name. Name = Fn->getName(); - // Skip the asm prefix if it exists. - if (Name[0] == '\01') - Name = Name.substr(1); LinkageName = Name; }