summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-01-18 23:27:28 +0000
committerDevang Patel <dpatel@apple.com>2010-01-18 23:27:28 +0000
commitddf6a57f3e49f3c48d8ab5282cbdddc6bc83b276 (patch)
treec7ca92a4947b360562d3b62375174f3591025b96 /clang/lib/CodeGen
parent7161fc1e2f9cc6ca61cc73aca0fa199c4b6522d9 (diff)
downloadbcm5719-llvm-ddf6a57f3e49f3c48d8ab5282cbdddc6bc83b276.tar.gz
bcm5719-llvm-ddf6a57f3e49f3c48d8ab5282cbdddc6bc83b276.zip
llvm::Function name is the linkage name. If it has a '01' as a prefix then probably there is a reason.
llvm-svn: 93808
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index cc97d19a5a0..aa43261da0d 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud