On Wed, Feb 13, 2013 at 4:32 PM, Xinliang David Li <davi...@google.com> wrote:
> 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?

It cannot be referenced later as the handlers will not get registered.
I will make this fatal too however.

Thanks
Sri

>
> David
>
> On Wed, Feb 13, 2013 at 4:19 PM, Sriraman Tallam <tmsri...@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

Reply via email to