[IR][NFC] Rename getBaseObject to getAliaseeObject
To better reflect the meaning of the now-disambiguated {GlobalValue,
GlobalAlias}::getBaseObject after breaking off GlobalIFunc::getResolverFunction
(D109792), the function is renamed to getAliaseeObject.
This commit is contained in:
committed by
Fangrui Song
parent
6707a7d7e9
commit
40ec1c0f16
@@ -4039,7 +4039,7 @@ void ModuleBitcodeWriterBase::writePerModuleGlobalValueSummary() {
|
||||
FSModVTableRefsAbbrev);
|
||||
|
||||
for (const GlobalAlias &A : M.aliases()) {
|
||||
auto *Aliasee = A.getBaseObject();
|
||||
auto *Aliasee = A.getAliaseeObject();
|
||||
if (!Aliasee->hasName())
|
||||
// Nameless function don't have an entry in the summary, skip it.
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user