[llvm-commits] [llvm] r56341 - in /llvm/trunk: include/llvm/ include/llvm/Transforms/ lib/Transforms/IPO/ test/Analysis/GlobalsModRef/ test/Transforms/AddReadAttrs/
Anton Korobeynikov
asl at math.spbu.ru
Sat Sep 20 11:00:38 PDT 2008
> I was following the logic in resolveAliasedGlobal (which
> shouldn't resolve aliases if they are not definitive, i.e.
> may be overridden). Perhaps Anton can comment. Anyway,
> hopefully PR2742 will take care of all such problems.
If this applies only to alias - then check for weak linkage only is
correct: aliases can have only external, weak or internal linkage.
resolveAliasedGlobal() walks through the alising chain until it will
find weak alias (or non-alias).
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-commits
mailing list