<html>
<head>
<base href="http://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 --- - Debug information not being generated"
href="http://llvm.org/bugs/show_bug.cgi?id=15405">15405</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Debug information not being generated
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alastair.donaldson@imperial.ac.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10118" name="attach_10118" title="Test case exposing the bug.">attachment 10118</a> <a href="attachment.cgi?id=10118&action=edit" title="Test case exposing the bug.">[details]</a></span>
Test case exposing the bug.
I have compiled CLANG/LLVM SVN revision 176261.
On the attached test case, I do:
clang -g -gcolumn-info -emit-llvm -S -O0 -o test.ll test.c
Looking at the two calls to 'baz' in test.ll, the first call does not have
debug information attached:
call void @baz(i32 %land.ext)
while the second one does:
call void @baz(i32 %5), !dbg !15
I believe this is a bug; I was expecting debug information to be attached to
every call.
Is this indeed a bug, or do I need some extra flag to force this information to
be generated?
Thanks
Ally</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>