[PATCH] D122336: [InstrProfiling] No runtime hook for unused funcs

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 12:09:10 PDT 2022


vsk added a subscriber: cishida.
vsk added a comment.

Sorry for ay delayed replies - I've switched teams at Apple and find it difficult to keep up with llvm reviews.

> it's my understanding is that we might be generating coverage record for unused functions for TAPI.

Coverage function records are emitted for unused functions because the tooling needs to know which file/line ranges require a "0" execution count.
CC'ing @cishida for tapi expertise. My (possibly outdated) understanding is that for tapi, we always emit the runtime hook because it analyzes compilation flags to determine the expected exported symbol set.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122336



More information about the cfe-commits mailing list