summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/Rewrite
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-11-10 09:05:20 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-11-10 09:05:20 +0000
commit1a33c0f2422c97dbfdbf11e561bb7823d71e3145 (patch)
tree0cefd81ef667efbbc5f94ae66fce24e47891a8f4 /clang/lib/Frontend/Rewrite
parenta67a4d2f3c07bd589d395a5815dea2198a261162 (diff)
downloadbcm5719-llvm-1a33c0f2422c97dbfdbf11e561bb7823d71e3145.tar.gz
bcm5719-llvm-1a33c0f2422c97dbfdbf11e561bb7823d71e3145.zip
[ELF] - Implemented --symbol-ordering-file option.
Patch allows to pass a symbols file to linker. LLD will map symbols to sections and sort sections in output according to symbol ordering file. That can help to reduce the startup time and/or amount of pagefaults during startup. Also, interesting benchmark result was produced by Rafael EspĂ­ndola. After applying the symbols file for clang he timed compiling X86MCTargetDesc.ii to an object file. The page faults went from just 56,988 to 56,946 since most faults are not in the binary. Running time went from 4.403053515 to 4.178112244. The speedup seems to be because of better cache locality. Differential revision: https://reviews.llvm.org/D26130 llvm-svn: 286440
Diffstat (limited to 'clang/lib/Frontend/Rewrite')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud