[PATCH] D96757: [InstrProfiling] Use ELF section groups for counters, data and values

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 16:33:53 PST 2021


phosek added a comment.

In D96757#2566973 <https://reviews.llvm.org/D96757#2566973>, @davidxl wrote:

> Can this be handled by other linkers (gold, bfd)?

They handle this without problems (I tested it locally) which is another advantage over D76802 <https://reviews.llvm.org/D76802>. However, they aren't yet able to GC those sections so this change is currently a no-op for those linkers. They would need to make a change similar to D96753 <https://reviews.llvm.org/D96753>. There's currently an ongoing discussion about that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96757



More information about the llvm-commits mailing list