[PATCH] D44399: [ThinLTO] Add funtions in callees metadata to CallGraphEdges

Taewook Oh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 15:01:33 PDT 2018


twoh added a comment.

@tejohnson I think your right. What I meant was that when the metadata is imported to `bar.o`, it references `f1` and `f2` by their promoted names, which makes the declarations with the promoted names to be added. Did I get it right, or still miss something?

For your second question, I assumed that the logic following the patch (line 304-311) will update the hotness info if available.


Repository:
  rL LLVM

https://reviews.llvm.org/D44399





More information about the llvm-commits mailing list