[LLVMbugs] [Bug 7544] Wrong offset for struct member
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 4 15:25:09 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7544
Chris Lattner <clattner at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Chris Lattner <clattner at apple.com> 2010-07-04 17:25:09 CDT ---
This is behaving correctly. The target settings override what is in the .ll
file. We see this in X86Subtarget.h:
std::string getDataLayout() const {
const char *p;
if (is64Bit())
p = "e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-n8:16:32:64";
else if (isTargetDarwin())
p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32";
else if (isTargetMingw() || isTargetWindows())
p = "e-p:32:32-f64:64:64-i64:64:64-f80:32:32-n8:16:32";
else
p = "e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32";
Which causes windows to get f64:64:64.
-Chris
--
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