Fangrui Song
d4306e90cb
[ELF][X86] Allow PT_LOAD to have overlapping p_offset ranges on EM_X86_64
...
Port the D64906 technique to EM_X86_64.
Differential Revision: https://reviews.llvm.org/D67482
llvm-svn: 371958
2019-09-16 07:05:34 +00:00
Fangrui Song
b159906a9a
[test] Change llvm-readobj -long-option to --long-option or well-known short options. NFC
...
Also change some options that have different semantics (cause confusion) in llvm-readelf mode:
-s => -S
-t => --symbols
-sd => --section-data
llvm-svn: 359651
2019-05-01 05:49:01 +00:00
Fangrui Song
eb75b8f8f7
[ELF] Move `# REQUIRES:` line to the top
...
llvm-svn: 335625
2018-06-26 16:58:19 +00:00
Michael J. Spencer
b842725c1d
[ELF] Add profile guided section layout
...
This adds profile guided layout using the Call-Chain Clustering (C³) heuristic
from https://research.fb.com/wp-content/uploads/2017/01/cgo2017-hfsort-final1.pdf .
RFC: [llvm-dev] [RFC] Profile guided section layout
http://lists.llvm.org/pipermail/llvm-dev/2017-June/114178.html
Pass `--call-graph-ordering-file <file>` to read a call graph profile where each
line has the format:
<from symbol> <to symbol> <call count>
Differential Revision: https://reviews.llvm.org/D36351
llvm-svn: 330234
2018-04-17 23:30:05 +00:00