[PATCH] D34067: Use symbols with the default version to resolve unversioned symbols.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 14:04:05 PDT 2017


> +    // If versioned symbols are default ones (which contains "@@" as opposed
> +    // to "@"), they are used to resolved remaining unversioned symbols.
> +    if (IsDefault)
> +      if (auto *U = dyn_cast_or_null<Undefined>(find(NewName)))
> +        copy(U->symbol(), Sym);

A nice property of newer versions of the other revision is that it just
uses addRegular for the new symbol name instead of doing a mini symbol
resolution on its own.

Could this do the same?

Cheers,
Rafael


More information about the llvm-commits mailing list