[PATCH] D19528: [ELF] - Implemented -z combrelocs/nocombreloc.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 20:46:11 PDT 2016


ruiu added a comment.

There are two ways of doing this. One way is, as you did, to sort symbols before writing it to the mmap'ed output. The other way is to write relocations to the buffer and sort the buffer as an array of RelTy. I think the latter is more efficient than the former because of better locality. Did you consider doing that way?


http://reviews.llvm.org/D19528





More information about the llvm-commits mailing list