[LLVMdev] Debugging information problem: code being reordered / debug point jumping around

Devang Patel dpatel at apple.com
Mon Aug 1 08:54:47 PDT 2011


On Aug 1, 2011, at 8:35 AM, Matt Pharr wrote:

> 
> On Aug 1, 2011, at 3:27 PM, Devang Patel wrote:
> 
>> What do you see after instruction select ? 
> 
> Good question--I just checked.  Things are still in the right order going into the x86 DAG->DAG instruction select pass, but then are out of order coming out of it.  So that looks like the culprit...

If fast-isel bails then SelectionDAG does not guarantee to preserve source order (even at -O0),  SelectionDAG only commits best effort to preserve line numbers.

> 
>> I'll take a look at this. Meanwhile, please file bugzilla report so that this does not get lost.
> 
> Thanks.  http://llvm.org/bugs/show_bug.cgi?id=10550

Thanks!
-
Devang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110801/db5360f0/attachment.html>


More information about the llvm-dev mailing list