[PATCH] D79379: Don't add function to import list if it's defined in the same module
Xun Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 19:55:50 PDT 2020
lxfind marked an inline comment as done.
lxfind added inline comments.
================
Comment at: llvm/include/llvm/ProfileData/SampleProf.h:541
const Function *Callee = M->getFunction(getFuncName(TS.getKey()));
if (!Callee || !Callee->getSubprogram())
S.insert(getGUID(TS.getKey()));
----------------
@wenlei Do you know why we are checking for getSubprogram() here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79379/new/
https://reviews.llvm.org/D79379
More information about the llvm-commits
mailing list