[PATCH][darwin] revert to .weak_definition on darwin<10

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Dec 9 14:41:17 PST 2013


On 6 December 2013 14:22, David Fang <fang at csl.cornell.edu> wrote:
> It seems I am not very good at attaching patches.
> How does this look?

MCAsmInfo has a hasWeakDefDirective. I would suggest adding a
hasWeakDefCanBeHiddenDirective instead of inlining the check on the
AsmPrinter.

I will let Grosbach comment on which targets/versions we should do this for.

Cheers,
Rafael



More information about the llvm-commits mailing list