[llvm-commits] [PATCH][RFC] PR10367: don't allow GlobalAlias's aliasee to be an arbitrary Constant

Anton Korobeynikov anton at korobeynikov.info
Fri Jul 29 00:37:09 PDT 2011


Hi Duncan,

> It would be good if Chris and/or Anton commented on this.  For example I don't
> know if aliases into the middle of a global are actually implementable on any of
> LLVM's supported platforms.
I don't think it's a problem in static mode (no relocation involved).
Stuff would appear much funny in, say, PIC mode, so for the latter
case I don't have exact answer. At least we'll need some assembler
support, etc.

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




More information about the llvm-commits mailing list