[LLVMbugs] [Bug 13062] Objective-C encoding of int[42] parameter doesn't match encoding of int[], int* parameters

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 3 15:39:32 PDT 2013


Fariborz Jahanian <fjahanian at apple.com> changed:

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

--- Comment #3 from Fariborz Jahanian <fjahanian at apple.com> ---
I was told that Distributed Objects and NSInvocation might use the encoded
array size to copy the pointed-to array and send it across the wire. So, this
is expected
behavior and cannot be changed.

> This looks like a bug in clang. It is probably done for compatibility with
> gcc’s
> encoding rules. 
> I have asked a person in our runtime group for impact of any change in the
> abi.
> Am waiting for his response. Once, and if,  I get the green light, I will
> submit a patch.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130603/a597bfa2/attachment.html>

More information about the llvm-bugs mailing list