<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 --- - .cfi_adjust_cfa_offset not reset across .cfi_endproc"
href="http://llvm.org/bugs/show_bug.cgi?id=21515">21515</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>.cfi_adjust_cfa_offset not reset across .cfi_endproc
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>rth@twiddle.net
</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>$ cat z.s
.cfi_startproc
nop
.cfi_adjust_cfa_offset 4
.cfi_endproc
.cfi_startproc
nop
.cfi_adjust_cfa_offset 4
.cfi_endproc
$ cc -c z.s
$ readelf -wf z.o
The section .eh_frame contains:
00000000 00000014 00000000 CIE
Version: 1
Augmentation: "zR"
Code alignment factor: 1
Data alignment factor: -4
Return address column: 8
Augmentation data: 1b
DW_CFA_def_cfa: r4 ofs 4
DW_CFA_offset: r8 at cfa-4
DW_CFA_nop
DW_CFA_nop
00000018 00000010 0000001c FDE cie=00000000 pc=00000000..00000001
DW_CFA_advance_loc: 1 to 00000001
DW_CFA_def_cfa_offset: 8
0000002c 00000010 00000030 FDE cie=00000000 pc=00000001..00000002
DW_CFA_advance_loc: 1 to 00000002
DW_CFA_def_cfa_offset: 12
The 12 on the last line should be 8.
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: i386-unknown-freebsd10.1
Thread model: posix
Selected GCC installation:</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>