<div dir="ltr">Can't say I know of any particular situations that cause this (I guess it's trickier than just a variable that's optimized away entirely) - I'd just start reducing an existing test case (probably add the assertion and try a non-LTO build, hope that it reproduces there, then just creduce any specific file where it reproduces)</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 5:51 PM, Duncan P. N. Exon Smith <span dir="ltr"><<a href="mailto:dexonsmith@apple.com" target="_blank">dexonsmith@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've noticed there are debug loc lists with no entries sometimes<br>
in my heap profiling workload (a linker dump of `-flto -g`).  It<br>
seems to happen when *all* the locations correspond to `%noreg`.<br>
<br>
This patch adds an assertion (which fires on my big workload,<br>
but not in any of our tests), and adds a likely fix that's<br>
commented out.<br>
<br>
Does anyone know how to generate this kind of thing, or should I<br>
just start compiling things to see if I can make it happen on my<br>
own?  (I've tried reducing my workload, but I'm having trouble<br>
getting very far with it.)<br>
<br>
</blockquote></div><br></div>