<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:echristo@gmail.com" title="Eric Christopher <echristo@gmail.com>"> <span class="fn">Eric Christopher</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - A debug info issue when passing a struct by value"
href="http://llvm.org/bugs/show_bug.cgi?id=14966">bug 14966</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - A debug info issue when passing a struct by value"
href="http://llvm.org/bugs/show_bug.cgi?id=14966#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - A debug info issue when passing a struct by value"
href="http://llvm.org/bugs/show_bug.cgi?id=14966">bug 14966</a>
from <span class="vcard"><a class="email" href="mailto:echristo@gmail.com" title="Eric Christopher <echristo@gmail.com>"> <span class="fn">Eric Christopher</span></a>
</span></b>
<pre>Appears fixed if you'd like to verify:
Breakpoint 1, main () at z.cpp:11
11 S s = { A_1, 1, {(const void*)10, (const void*)20, (const void*)30} };
(gdb) n
12 f1(s);
(gdb) s
f1 (s=...) at z.cpp:7
7 return f2(s);
(gdb) p s
$1 = {a = A_1, b = 1, c = {0xa, 0x14, 0x1e}}
(gdb) s
f2 (s=...) at zz.cpp:5
5 return s.c[2];
(gdb) s
main () at z.cpp:13
13 }
(gdb) p s
$2 = {a = A_1, b = 1, c = {0xa, 0x14, 0x1e}}
(gdb) s</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>