[PATCH] D88127: [CGProfile] don't emit cgprofile entry if called function is dllimport
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 16:14:45 PDT 2020
rnk added a comment.
I'm saying the fix belongs in TargetObjectFileLoweringImpl.cpp, which is the point where we translate from IR to assembly. We can't fix this after producing assembly, because we don't know what symbols are marked dllimport at that point.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88127/new/
https://reviews.llvm.org/D88127
More information about the llvm-commits
mailing list