[LLVMbugs] [Bug 4739] GlobalAlias of ConstantExpr emits incorrect code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Aug 20 08:45:45 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4739


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #19 from Chris Lattner <clattner at apple.com>  2009-08-20 10:45:45 ---
You can't do stuff like this on the mac.  Public symbols are considered to
separate blocks of code and data, and the linker reorders those blocks.  This
is why the mac doesn't support "multiple entry points" in the obvious way etc. 
In any case, I think this bug is invalid, GlobalAlias should only except an
offset of zero from the aliasee.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list