mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Remove the isImplicitlyPrivate argument of getNameWithPrefix.
getSymbolWithGlobalValueBase use is to create a name of a new symbol based on the name of an existing GV. Assert that and then remove the last call to pass true to isImplicitlyPrivate. This gives the mangler API a 1:1 mapping from GV to names, which is what we need to drop the mangler dependency on the target (and use an extended datalayout instead). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -320,7 +320,7 @@ applyRestriction(GlobalValue &GV,
|
||||
SmallPtrSet<GlobalValue*, 8> &AsmUsed,
|
||||
Mangler &Mangler) {
|
||||
SmallString<64> Buffer;
|
||||
Mangler.getNameWithPrefix(Buffer, &GV, false);
|
||||
Mangler.getNameWithPrefix(Buffer, &GV);
|
||||
|
||||
if (GV.isDeclaration())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user