<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 6, 2017 at 12:53 PM Teresa Johnson via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tejohnson added a comment.<br>
<br>
In <a href="https://reviews.llvm.org/D40747#943859" rel="noreferrer" target="_blank">https://reviews.llvm.org/D40747#943859</a>, @dblaikie wrote:<br>
<br>
> Just a quick note:<br>
><br>
> Could you check what the debug info looks like for an imported alias that is inlined, and one that isn't inlined?<br>
><br>
> Specifically my concern is over whether or not this causes a second CU to be created - currentyl we're threading a needle to avoid fixing/updating GDB by not needing multiple CUs per DWO file due to importing cross-CU inlining into the calling CU, etc.<br>
><br>
> Can talk more offline or through this thread.<br>
<br>
<br>
On-list update: David and I discussing offline. But essentially the same thing happens to debug info when we import an alias vs a normal function. David is looking at whether that is correct, but we are consistent. This is expected since the imported aliases (copies of aliasee) are available_externally just like other imported functions.<br></blockquote><div><br>Yep - if it's the same implementation (available_externally)/observed behavior, that covers my concerns here.<br><br>Thanks for the repro that maybe this isn't quite doing the right thing in general & I'll look into that, but nothing to worry about for this specific change either way.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="https://reviews.llvm.org/D40747" rel="noreferrer" target="_blank">https://reviews.llvm.org/D40747</a><br>
<br>
<br>
<br>
</blockquote></div></div>