[PATCH] D59898: [LCG] Add aliased functions as LCG roots
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 27 13:54:08 PDT 2019
tejohnson added inline comments.
================
Comment at: lib/Analysis/LazyCallGraph.cpp:192
+ // Functions has alias are also reachable.
+ for (auto &A : M.aliases()) {
+ if (Function* F = dyn_cast<Function>(A.getAliasee())) {
----------------
Presumably aliases with internal linkage themselves can be ignored.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59898/new/
https://reviews.llvm.org/D59898
More information about the llvm-commits
mailing list