[PATCH] D36351: [lld][ELF] Add profile guided section layout

Michael Spencer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 21:15:05 PDT 2017


Bigcheese created this revision.
Bigcheese added a project: lld.
Herald added a subscriber: emaste.

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 .

It currently reads the call graph profile from a text file.

RFC: [llvm-dev] [RFC] Profile guided section layout http://lists.llvm.org/pipermail/llvm-dev/2017-June/114178.html


Repository:
  rL LLVM

https://reviews.llvm.org/D36351

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Options.td
  ELF/Writer.cpp
  test/ELF/Inputs/cgprofile.txt
  test/ELF/cgprofile.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36351.109854.patch
Type: text/x-patch
Size: 11339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170805/5c6dea6c/attachment.bin>


More information about the llvm-commits mailing list