<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 12:38 AM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br>
<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 dir="ltr"><div class="im">On 24 September 2013 19:38, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<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><span style="color:rgb(34,34,34)">-gline-tables-only (or -gmlt in gcc parlance). This will give you</span><br>

</div>
accurate call stack information for each sample. Or at least as<br>
accurate as I can get it.<br></blockquote><div><br></div></div><div>FWIW, I'm using perf with "-O3 -g" and LLVM has retained the line information quite well throughout all the inlining and optimizations that happened.</div>

<div><br></div><div>I assume it's easier to keep line information than variable location ranges and types. The biggest problem is to separate the two emissions, I guess, not the quality of the resulting information.</div>
</div></div></div></blockquote><div><br></div><div>We've been using  <span style="font-family:arial,sans-serif;font-size:13px">-gline-tables-only</span><span style="font-family:arial,sans-serif;font-size:13px"> for a long time and are satisfied with the quality.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">It even gives use inlined frames (when we ask).</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">--kcc </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div><br></div><div>cheers,</div><div>--renato</div><div> </div></div></div></div>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div></div>