[PATCH] D53683: [ELF] Add --{, no-}call-graph-profile (disabled by default)

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 25 11:00:36 PDT 2018


ruiu added a comment.

Speaking of whether we should enable or disable it by default, I second Michael. In most cases, if your object files contain .llvm.call-graph-profile sections, that's because you are instructed clang/llvm to do so, and if lld doesn't reorder sections in that case, most users wonder why lld doesn't work "correctly". From that UX perspective, that should be enabled by default.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D53683





More information about the llvm-commits mailing list