mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
fix build failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b3735e65a
commit
036d8f9581
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user