[LLVMbugs] [Bug 10190] The behaviour of Module::setDataLayout is not as expected.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 25 09:44:22 PDT 2011


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

Chris Lattner <clattner at apple.com> changed:

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

--- Comment #4 from Chris Lattner <clattner at apple.com> 2011-06-25 11:44:22 CDT ---
This is a misunderstanding of what Datalayout is for.  This is part of the
contract with the code generator: the frontend is required to specify the exact
target data that the code generator expects, or specify no target data if you
don't care.  You cannot specify a different target data and expect to get
different behavior.

-- 
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