<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US">Hi,<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US">As discussed on the <a href="https://reviews.llvm.org/D101025">
https://reviews.llvm.org/D101025</a>, we have noticed that there are two different stat categories for inlined functions when using `llvm-dwarfdump –statistics`:<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif;text-indent:.5in">
<span style="mso-ansi-language:EN-US"># inlined functions<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif;text-indent:.5in">
<span style="mso-ansi-language:EN-US"># inlined functions with abstract origin<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US">and it was introduced after the </span><b><span lang="EN-GB" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#464C5C;background:#ECEEF4">D58849</span>.
</b><span style="mso-ansi-language:EN-US">We were wondering if there is a particular motivation of doing so.</span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US">Having an inlined_subroutine DIE with no abstract_origin attribute does not have so many benefits, so it might be better if we have an assertion/error (e.g., in the AsmPrinter) when we face such situation (or just to avoid
dumping it into the final DWARF).</span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US">Any thoughts?<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US">Best regards,<o:p> </o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ansi-language:EN-US">Djordje<o:p> </o:p></span></p>
<br>
</div>
</body>
</html>