[LLVMbugs] [Bug 4380] __builtin_object_size
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 23 14:37:19 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4380
Dale Johannesen <dalej at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dalej at apple.com
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Dale Johannesen <dalej at apple.com> 2009-06-23 16:37:19 ---
Actually, it is lowered to -1, and then the memcpy_chk expansion decides it is
OK to lower that to a plain memcpy since nothing about the object size is
known, like this:
call void @llvm.memcpy.i32(i8* %2, i8* %3, i32 4, i32 1)
The final 1 is alignment, not anything to do with object-size. I think this
is OK.
--
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