[PATCH] D39356: [ThinLTO] Fix missing call graph edges for calls with bitcasts.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 13:24:13 PST 2017


efriedma added a comment.

> The issue here is that we detected that this GV was a Callee, so we didn't add a reference edge.

Are you sure that's what's happening?  The isCallee test is an exact equality comparison, so it should fail if we're calling a bitcasted global.

> The crucial part is distinction between int ext(); and int ext(void);.

Yes, this is exactly right.


https://reviews.llvm.org/D39356





More information about the llvm-commits mailing list