[PATCH] D45519: [ELF] - Change the way of sorting local symbols.

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 17:41:20 PDT 2018


espindola added a comment.

In https://reviews.llvm.org/D45519#1065037, @ruiu wrote:

> Yeah, but the it looks up the hash table N times where N is the number of local symbols, no?


It does.

Since the order of two files is arbitrary, how about just giving each InputFile a number when it is created ?


https://reviews.llvm.org/D45519





More information about the llvm-commits mailing list