<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 --- - .cv_loc directives for the same inline line table in different sections cause assertions"
href="https://llvm.org/bugs/show_bug.cgi?id=29147">29147</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>.cv_loc directives for the same inline line table in different sections cause assertions
</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>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>MC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rnk@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>This asm input crashes MC:
.text
.global foo
foo:
.Lfunc_begin0:
.cv_file 1 "t.cpp"
.cv_loc 0 1 1 1
nop
.cv_loc 1 1 2 1
nop
.data # comment out to avoid crash
.cv_loc 1 1 3 1
nop
.cv_loc 0 1 3 1
nop
.Lfunc_end0:
.section .debug$S,"dr"
.cv_inline_linetable 1 1 2 .Lfunc_begin0 .Lfunc_end0
We should validate that all directives for the function are in the same
section, otherwise we can't compute absolute label differences, obviously.</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>