[PATCH] D25766: [ELF] - Implemented --section-ordering-file option.
Rafael Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 14:04:01 PDT 2016
> Minimizing the number of page faults is not a goal of this feature (although
> it could be a measure to achieve it.) You want to measure the start up time
> of the app. That's what this feature was originally designed for.
Yes. The suggestion of looking at page faults is just for an easier to
reproduce number to look at first.
I am under the impression that this can also be useful for instruction
cache on a running application. Which order file is used to optimize
that is obviously different (the one created by
function_reordering_plugin), but the linker option is the same.
More information about the llvm-commits