mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Delete getAliasedGlobal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209040 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -802,7 +802,7 @@ bool LTOModule::parseSymbols(std::string &errMsg) {
|
||||
// add aliases
|
||||
for (Module::alias_iterator a = _module->alias_begin(),
|
||||
e = _module->alias_end(); a != e; ++a) {
|
||||
if (isDeclaration(*a->getAliasedGlobal()))
|
||||
if (isDeclaration(*a->getAliasee()))
|
||||
// Is an alias to a declaration.
|
||||
addPotentialUndefinedSymbol(a, false);
|
||||
else
|
||||
|
Reference in New Issue
Block a user