[PATCH] D81429: [COFF] Port CallGraphSort to COFF from ELF

Zequan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 13:50:57 PDT 2020


zequanwu updated this revision to Diff 279626.
zequanwu added a comment.

Add option `/call-graph-profile-sort` in `lld-link` to read CGProfile data from object file (default on), equivalent to `--call-graph-profile-sort` in `ld.lld`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81429/new/

https://reviews.llvm.org/D81429

Files:
  lld/COFF/CMakeLists.txt
  lld/COFF/CallGraphSort.cpp
  lld/COFF/CallGraphSort.h
  lld/COFF/Config.h
  lld/COFF/Driver.cpp
  lld/COFF/InputFiles.cpp
  lld/COFF/InputFiles.h
  lld/COFF/Options.td
  lld/COFF/Writer.cpp
  lld/ELF/CallGraphSort.cpp
  lld/test/COFF/cgprofile-bad-clusters.s
  lld/test/COFF/cgprofile-err.s
  lld/test/COFF/cgprofile-icf.s
  lld/test/COFF/cgprofile-obj.s
  lld/test/COFF/cgprofile-print.s
  lld/test/COFF/cgprofile-txt.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81429.279626.patch
Type: text/x-patch
Size: 24892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200721/e8132444/attachment.bin>


More information about the llvm-commits mailing list