<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Inlined subroutine with empty ranges / duplicate linkable entries"
href="https://bugs.llvm.org/show_bug.cgi?id=33107">33107</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Inlined subroutine with empty ranges / duplicate linkable entries
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>DebugInfo
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aprantl@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=18478" name="attach_18478" title="manually-reduced testcase">attachment 18478</a> <a href="attachment.cgi?id=18478&action=edit" title="manually-reduced testcase">[details]</a></span>
manually-reduced testcase
The attached testcase (when compiled with llc) highlights two related bugs.
An inlined subroutine with an empty range:
0x0000005b: TAG_subprogram [6] *
AT_low_pc( 0x0000000000000000 )
AT_high_pc( 0x00000017 )
AT_APPLE_omit_frame_ptr( true )
AT_frame_base( rsp )
AT_decl_line( 25 )
AT_specification( {0x0000004f}"m_fn3" )
0x0000006f: TAG_inlined_subroutine [7]
AT_abstract_origin( {0x00000040}"m_fn1" )
AT_low_pc( 0x0000000000000013 )
AT_high_pc( 0x00000000 )
^^^^^^^^^^
AT_call_file( "test.ii" )
AT_call_line( 29 )
0x00000082: NULL
And non-increasing line table entries:
Address Line File
------------------ ------ ------------------------------
0x0000000000000000 1 25 0 is_stmt
0x000000000000000f 1 29 28 is_stmt prologue_end
0x0000000000000013 1 5 25 is_stmt
0x0000000000000013 1 29 28 is_stmt
0x0000000000000017 1 29 28 is_stmt end_sequence</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>