[Patch][ObjC][Proposal] NSValue literals

AlexDenisov 1101.debian at gmail.com
Tue Jun 16 13:53:19 PDT 2015


Seems I’ve addressed and fixed all the comments/remarks.
ATM I have another issue: I added test for objc_boxable into the test/PCH/subscripting-literals.m and now clang crashes, I’m still trying to find and fix the problem, but decided to send the new patch version so you can check if I’m on the right way.

P.S. re: crashing test
after de-serialization something goes wrong with the second parameter of ObjCBoxedExpr  and valueWithBytes:objCType: and clang segfaults.
I also attach the stack-trace of the crash if you, by any chance, want to take a look and give me some hint/direction to dig.
--
AlexDenisov
Software Engineer, http://alexdenisov.github.io

-------------- next part --------------
A non-text attachment was scrubbed...
Name: objc_boxable.crash
Type: application/octet-stream
Size: 9443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150616/ffb18316/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objc_boxable.patch
Type: application/octet-stream
Size: 61703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150616/ffb18316/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150616/ffb18316/attachment.sig>


More information about the cfe-commits mailing list