<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<div>On 12/22/15 4:45 AM, Russell Wallace
via llvm-dev wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Oh, I just came across Function::hasAddressTaken.
Maybe I can just use that instead?<br>
</div>
</blockquote>
<br></span>
You could conservatively assume that any function that has its
address taken has a pointer to it that escapes into memory or
external code.</div></blockquote><div><div><br></div><div>I wonder if a conservative estimate of pointed-to functions would also need to include all functions with externally visible linkage? </div></div><div><br></div><div>I could imagine a few routes by which that allows such a function to have its address show up in the data being handled by the Module's own code.</div></div></div></div>