[PATCH]: Add a flag to the DWARF Compile Unit to indicate if it was compiled with ARC

John McCall rjmccall at apple.com
Mon May 13 16:35:39 PDT 2013


On May 13, 2013, at 4:32 PM, Adrian Prantl <aprantl at apple.com> wrote:
>>> I am happy to leave you and Adrian to decide the best representation as long as you agree that this is important to represent *somehow*. I was under the impression that that was in question.
>>> 
>> 
>> Nah, language features are important to represent in dwarf. :)
> 
> I’m happy to search for the best representation in DWARF.
> Going through John’s earlier examples, “weak” vs. “strong” can definitely be represented as an attribute.

I don't fully understand what "attribute" means here, but just to be clear, weak and strong are type qualifiers and need to be represented in the same basic way that "volatile" or "const" are.  They  are not merely properties of declared variables.

John.



More information about the llvm-commits mailing list