[PATCH] D148374: [llvm-remarkutil] Add an option to display DebugLoc when collecting counts for remarks.

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 13:38:19 PDT 2023


zjaffal added a comment.

In D148374#4269616 <https://reviews.llvm.org/D148374#4269616>, @thegameg wrote:

> Why not use the YAML output directly in this case?

If you want to generate the count for functions there is the possibility that the function name is not unique so you will end up with different counts for the same function. While the DebugLoc is not unique but it is better than just using the function name as an identifier.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148374



More information about the llvm-commits mailing list