[lld] r195295 - [PECOFF] Move files with ".lib" extension to the end of the input file list.

Shankar Easwaran shankare at codeaurora.org
Thu Nov 21 19:02:14 PST 2013


On 11/21/2013 6:33 PM, Rui Ueyama wrote:
> On Wed, Nov 20, 2013 at 6:54 PM, Shankar Easwaran
> <shankare at codeaurora.org>wrote:
>
>> Hi Rui,
>>
>> The InputGraph postProcess could be used to reorder input files. It does
>> use a stable_sort now, and uses ordinals to rearrange them.
>>
>> Currently the implementation is not complete, but I think that could be
>> improved.
>>
> InputGraph contains different types of InputElements, so working on it is a
> bit more complicated than on the simple vector of strings. So it feels that
> it's be better do that here rather than in InputGraph if it suffices.
>
> Any thoughts ?
Since the driver deals only with InputElements assigning an ordinal and 
sorting them might be worth it.

We could add a PassManager to the InputGraph which would make it more 
suitable for this if you think its worth.

Thanks

Shankar Easwaran

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




More information about the llvm-commits mailing list