1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

fix build failure.

llvm-svn: 93628
This commit is contained in:
Chris Lattner 2010-01-16 03:38:27 +00:00
parent a00f220023
commit e4a8737985

View File

@ -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;
}