Hi Richard,
Thanks for you analysis. I have some follow up questions though:
First, either of these two suggestions below should fix the bug, though it may
be better to do both. Right ?
Then, approach (2) has a cost. It will prevent devirtualizations of calls which
could get defined elsewhere.
Hi,
I want to discuss the issue in PR27895,
https://llvm.org/bugs/show_bug.cgi?id=27895
But I will give a slightly different example for this discussion.
The issue can be demonstrated by this standalone code. Should this example link
successfully?
-