aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-16 03:38:27 +0000
committerChris Lattner <sabre@nondot.org>2010-01-16 03:38:27 +0000
commit036d8f9581c76b68cac08876be65b362c3a54bc3 (patch)
tree1fd97e710c4f22083540c32986e263eefedfb791 /lib
parent0b3735e65af1cc3ff7fb76e2b30e2ffb2604f400 (diff)
downloadexternal_llvm-036d8f9581c76b68cac08876be65b362c3a54bc3.zip
external_llvm-036d8f9581c76b68cac08876be65b362c3a54bc3.tar.gz
external_llvm-036d8f9581c76b68cac08876be65b362c3a54bc3.tar.bz2
fix build failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp
index 6ecbec4..ba156c3 100644
--- a/lib/Target/TargetLoweringObjectFile.cpp
+++ b/lib/Target/TargetLoweringObjectFile.cpp
@@ -956,7 +956,7 @@ shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler *Mang) const {
// \1L and \0l prefixes on them. Fix them to be Private/LinkerPrivate and
// this horrible hack can go away.
SmallString<64> Name;
- Mang->getNameWithPrefix(NameTmp, GV, false);
+ Mang->getNameWithPrefix(Name, GV, false);
if (Name[0] == 'L' || Name[0] == 'l')
return false;
}