1. Jan 13, 2022
  2. Jan 12, 2022
    • Leonard Grey's avatar
      [lld-macho] Port CallGraphSort from COFF/ELF · 6db04b97
      Leonard Grey authored
      Depends on D112160
      
      This adds the new options `--call-graph-profile-sort` (default),
      `--no-call-graph-profile-sort` and `--print-symbol-order=`. If call graph
      profile sorting is enabled, reads `__LLVM,__cg_profile` sections from object
      files and uses the resulting graph to put callees and callers close to each
      other in the final binary via the C3 clustering heuristic.
      
      Differential Revision: https://reviews.llvm.org/D112164
      6db04b97