[PATCH] [PECOFF] Support COMDAT associative sections.
Reid Kleckner
rnk at google.com
Thu May 29 13:35:55 PDT 2014
On Thu, May 29, 2014 at 10:15 AM, Rui Ueyama <ruiu at google.com> wrote:
> On Thu, May 29, 2014 at 9:56 AM, Reid Kleckner <rnk at google.com> wrote:
>
>> Is it OK to rely on dead stripping to remove associative comdat sections
>> when the associated data is discarded? I thought it was possible for the
>> user to disable dead stripping, in which case the result will be incorrect,
>> and data will be initialized multiple times.
>>
>
> Maybe it's OK for now. I'd think we may want to have some type to say to
> the Resolver that "do dead strip this thing even if global dead strip
> setting is off," but I didn't think hard enough to conclude it's the best
> option.
>
Ultimately we need support for comdat groups in ELF, so I'd like to push to
do this in a principled way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140529/41633ecb/attachment.html>
More information about the llvm-commits
mailing list