[PATCH] Support Solaris unused sections' gc link syntax

Rafael Espíndola rafael.espindola at gmail.com
Mon Jun 22 05:36:18 PDT 2015


On 22 June 2015 at 03:47, Xan López <xan at igalia.com> wrote:
> Hrm, not sure I see where "--export-dynamic" is handled? In any case
> the Solaris linker does not seem to support that either, if that was
> the question.

The question is if the use of discard-unused=sections should be inside
of the if for  LLVM_NO_DEAD_STRIP or, like the check for gold, outside
of it.

Does discard-unused=sections work when the program being gc can load
plugins (clang for example)?

Cheers,
Rafael




More information about the llvm-commits mailing list