<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:jdevlieghere@apple.com" title="Jonas Devlieghere <jdevlieghere@apple.com>"> <span class="fn">Jonas Devlieghere</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Evaluating expression returning an std::shared_ptr<T> fails"
href="https://bugs.llvm.org/show_bug.cgi?id=24928">bug 24928</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;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jdevlieghere@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Evaluating expression returning an std::shared_ptr<T> fails"
href="https://bugs.llvm.org/show_bug.cgi?id=24928#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Evaluating expression returning an std::shared_ptr<T> fails"
href="https://bugs.llvm.org/show_bug.cgi?id=24928">bug 24928</a>
from <span class="vcard"><a class="email" href="mailto:jdevlieghere@apple.com" title="Jonas Devlieghere <jdevlieghere@apple.com>"> <span class="fn">Jonas Devlieghere</span></a>
</span></b>
<pre>jonas@jonas-imac-pro ~/l/build-ra> ./bin/lldb /tmp/a.out
(lldb) target create "/tmp/a.out"
Current executable set to '/tmp/a.out' (x86_64).
(lldb) b main.cpp:13
Breakpoint 1: where = a.out`main + 15 at main.cpp:13:12, address =
0x0000000100000f7f
(lldb) r
Process 34334 launched: '/tmp/a.out' (x86_64)
Process 34334 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x0000000100000f7f a.out`main at main.cpp:13:12
10 int main() {
11 A<E2> a;
12
-> 13 return a.size(); // Break here and evaluate a.size()
14 }
(lldb) p a.size()
(int) $0 = 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>