[PATCH]: Add a flag to the DWARF Compile Unit to indicate if it was compiled with ARC
Eric Christopher
echristo at gmail.com
Mon May 13 11:57:35 PDT 2013
Eh? Curious what this will be used for?
Couple of alternate implementation thoughts:
a) Collect this with isOptimized to provide compile unit flags
b) Add a new part to the language enum that is ObjCWithArc or some
better naming and then lower that appropriately in the backend
-eric
On Mon, May 13, 2013 at 11:46 AM, Adrian Prantl <aprantl at apple.com> wrote:
> Hi there,
>
> this is a trivial patch, but it changes the MDNode layout of compile units:
>
> Add a new flag to the compile unit to indicate whether the CU was
> compiled with Objective-C Automatic Reference Counting a.k.a. ARC.
>
> rdar://problem/12234671
>
> cheers,
> Adrian
>
More information about the llvm-commits
mailing list