[cfe-dev] Address Sanitizer and Objective-C garbage collection (GC) incompatible?
Chris Lattner
clattner at apple.com
Thu Dec 13 15:39:14 PST 2012
On Dec 13, 2012, at 3:32 PM, Sean McBride <sean at rogue-research.com> wrote:
>>> then asan spews:
>>>
>>> ==8598== ERROR: AddressSanitizer: attempting free on address which was
>> not malloc()-ed: 0x00010aab4000
>>>
>>> I can file a bug with details, but thought I'd check here in case I'm
>> not the first to try….
>>
>> Hi Sean,
>>
>> Are you aware that ObjC GC is deprecated in Mountain Lion?
>
> Very much so. But until I convert to ARC, I'd still like to benefit from asan, if I can.
>
> (Aside: Xcode is still a GC app too. As you know, it's non-trivial to just change the entire memory management of a large codebase overnight.)
Yep, I'm aware of that, I just wanted to make sure you were on the right path. Just MHO, but I wouldn't expect much traction on improving tools for ObjC GC going forward.
-Chris
More information about the cfe-dev
mailing list