<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 --- - Clang emits DWARF4 forms with -gdwarf-2 option"
href="http://llvm.org/bugs/show_bug.cgi?id=17710">17710</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang emits DWARF4 forms with -gdwarf-2 option
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>samsonov@google.com
</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>$ >z.c
$ ./bin/clang -gdwarf-2 z.c -c -o z.o
$ ./bin/llvm-dwarfdump --debug-dump=info z.o | grep "DW_AT_stmt_list"
DW_AT_stmt_list [DW_FORM_sec_offset] (0x00000000)
DW_FORM_sec_offset first appeared in DWARF4, while the emitted compile unit is
said to have DWARF-2:
$ ./bin/llvm-dwarfdump --debug-dump=info z.o | grep "version"
0x00000000: Compile Unit: length = 0x00000022 version = 0x0002 abbr_offset =
0x0000 addr_size = 0x08 (next unit at 0x00000026)</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>