mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Revert "Address review comments"
This reverts commit r232540. This was committed accidently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -91,10 +91,9 @@ static void addByteCountSuffix(raw_ostream &OS, const Function *F,
|
||||
}
|
||||
|
||||
void Mangler::getNameWithPrefix(raw_ostream &OS, const GlobalValue *GV,
|
||||
bool CannotUsePrivateLabel,
|
||||
bool ForceNonPrivate) const {
|
||||
bool CannotUsePrivateLabel) const {
|
||||
ManglerPrefixTy PrefixTy = Mangler::Default;
|
||||
if (GV->hasPrivateLinkage() && !ForceNonPrivate) {
|
||||
if (GV->hasPrivateLinkage()) {
|
||||
if (CannotUsePrivateLabel)
|
||||
PrefixTy = Mangler::LinkerPrivate;
|
||||
else
|
||||
@@ -153,8 +152,7 @@ void Mangler::getNameWithPrefix(raw_ostream &OS, const GlobalValue *GV,
|
||||
|
||||
void Mangler::getNameWithPrefix(SmallVectorImpl<char> &OutName,
|
||||
const GlobalValue *GV,
|
||||
bool CannotUsePrivateLabel,
|
||||
bool ForceNonPrivate) const {
|
||||
bool CannotUsePrivateLabel) const {
|
||||
raw_svector_ostream OS(OutName);
|
||||
getNameWithPrefix(OS, GV, CannotUsePrivateLabel, ForceNonPrivate);
|
||||
getNameWithPrefix(OS, GV, CannotUsePrivateLabel);
|
||||
}
|
||||
|
Reference in New Issue
Block a user