[google][4.7] Minor Function reordering plugin enhancements.

Xinliang David Li davidxl@google.com
Thu Feb 14 00:32:00 GMT 2013

when split_segment is specified but the API does not exist, why not
making it fatal ? Will it crash at some point when the null pointer is
referenced later?


On Wed, Feb 13, 2013 at 4:19 PM, Sriraman Tallam <tmsriram@google.com> wrote:
> Hi,
>    I have attached a patch for the reordering plugin to display
> appropriate error messages when incorrect options are passed or when
> some API is unavailable.
>    The plugin will use the ld_plugin_message linker API to flag errors
> (fatal or non-fatal) when incorrect options are passed or when the
> required API is not available in the invoking linker. If the message
> API is missing, then it falls back to using fprintf.
> Thanks
> Sri

More information about the Gcc-patches mailing list