diff options
author | Devang Patel <dpatel@apple.com> | 2010-01-18 23:27:28 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-01-18 23:27:28 +0000 |
commit | 0d0d327aeb2c823ce0363a9b584662f9b03c52a6 (patch) | |
tree | 23b0a7d788b35cf55ec873bcbf6cb35cbf631755 /lib/CodeGen/CGDebugInfo.cpp | |
parent | e381c997e2ecad96ec0949ae314d1d06f775df36 (diff) |
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
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |