[llvm-commits] arm mc: fix relocation of an alias to an alias

Anton Korobeynikov anton at korobeynikov.info
Fri Oct 7 14:40:07 PDT 2011


> It's not clear to me that this is correct. Aliases can be weak and you
> shouldn't follow them if they are.
Good point

> (And the IR-level optimizers should
> probably be folding away aliases that are marked 'internal', so there's no
> sense doing it here.)
We did this once during codegen, but after MC-ization we don't do.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list