[LLVMdev] [lld][failing test] the reason of ifunc.test failing

Shankar Easwaran shankare at codeaurora.org
Mon Oct 7 13:49:33 PDT 2013


On 10/7/2013 3:43 PM, Rui Ueyama wrote:
> On Mon, Oct 7, 2013 at 11:51 AM, Shankar Easwaran
> <shankare at codeaurora.org>wrote:
>
>> Ping ?
>>
>> Do you think that we need to have an API in LinkingContext to return the
>> next ordinal available, so that files created by passes can be assigned
>> ordinals ?
>>
> That API may work, but I don't think you always want to assign the largest
> file ordinal for a file created in a pass. If you want to assign the
> smallest file ordinal, for example, then the API wouldn't work.
Its upto the context to return the nextOrdinal available or what the 
context could infer.

The default behavior could be return ordinals in increasing order.

Thanks

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-dev mailing list