[cfe-commits] r131242 - in /cfe/trunk: lib/CodeGen/CGDebugInfo.cpp test/CodeGenObjC/debug-info-class-extension3.m

Douglas Gregor dgregor at apple.com
Thu May 12 14:45:43 PDT 2011


On May 12, 2011, at 2:43 PM, jahanian wrote:

> 
> On May 12, 2011, at 2:30 PM, Douglas Gregor wrote:
> 
>> Thanks, Devang!
>> 
>> 	- Doug
>> 
>> On May 12, 2011, at 2:14 PM, Devang Patel wrote:
>> 
>>> Author: dpatel
>>> Date: Thu May 12 16:14:54 2011
>>> New Revision: 131242
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=131242&view=rev
>>> Log:
>>> Do not add AT_APPLE_objc_class_extension attribute if @implementation is not seen.
> 
> What is the reason behind this change?  

LLDB wants to know when a particular translation unit is the translation unit that contains the actual @implementation for a particular class, because (for example) only that translation unit is sure to know about all of the instance variables that have been added to the class via class extensions.

	- Doug



More information about the cfe-commits mailing list