[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [llvm-bugs] [Bug 31214] New: Don't stop on line 0
From:       via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date:       2016-11-30 16:36:11
Message-ID: bug-31214-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

--1480523771.c7deBE0.14652
Date: Wed, 30 Nov 2016 10:36:11 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

https://llvm.org/bugs/show_bug.cgi?id=31214

            Bug ID: 31214
           Summary: Don't stop on line 0
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev@lists.llvm.org
          Reporter: paul_robinson@playstation.sony.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Yesterday I tried committing LLVM r288212, which introduced a number of
line-table records with line number 0.  The DWARF spec says this means
there is no particular source location associated with those instructions.

I was expecting LLDB to ignore line-0 records, but apparently it does not.
http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/1537
reported 3 test failures:

FAIL: TestExitDuringStep.ExitDuringStepTestCase.test_dwarf
FAIL: TestExitDuringStep.ExitDuringStepTestCase.test_dwo
FAIL: TestExitDuringStep.ExitDuringStepTestCase.test_gmodules

And looking at the traces, it seems that there was a single-step expecting
to stop on line 30 but found itself stopped on line 0.

I thought I had tried this with LLDB before, but apparently I didn't
follow the website instructions correctly.  (I'm still seeing more
failures and other funny stuff than I expected, but if I apply or
remove my patch it's still the same 3 tests that get different results,
so I'm not going to worry about it.)

LLDB should not stop on an instruction associated with line 0.
It should proceed to the next instruction with a non-zero line number.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

--1480523771.c7deBE0.14652
Date: Wed, 30 Nov 2016 10:36:11 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Don't stop on line 0"
   href="https://llvm.org/bugs/show_bug.cgi?id=31214">31214</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Don't stop on line 0
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev&#64;lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>paul_robinson&#64;playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs&#64;lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Yesterday I tried committing LLVM r288212, which introduced a number of
line-table records with line number 0.  The DWARF spec says this means
there is no particular source location associated with those instructions.

I was expecting LLDB to ignore line-0 records, but apparently it does not.
<a href="http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/1537" \
>http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/1537</a> \
> reported 3 test failures:

FAIL: TestExitDuringStep.ExitDuringStepTestCase.test_dwarf
FAIL: TestExitDuringStep.ExitDuringStepTestCase.test_dwo
FAIL: TestExitDuringStep.ExitDuringStepTestCase.test_gmodules

And looking at the traces, it seems that there was a single-step expecting
to stop on line 30 but found itself stopped on line 0.

I thought I had tried this with LLDB before, but apparently I didn't
follow the website instructions correctly.  (I'm still seeing more
failures and other funny stuff than I expected, but if I apply or
remove my patch it's still the same 3 tests that get different results,
so I'm not going to worry about it.)

LLDB should not stop on an instruction associated with line 0.
It should proceed to the next instruction with a non-zero line number.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>

--1480523771.c7deBE0.14652--


[Attachment #3 (text/plain)]

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic