<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 --- - Expression evaluation can assert with invalid context"
href="http://llvm.org/bugs/show_bug.cgi?id=15439">15439</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Expression evaluation can assert with invalid context
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ashok.thirumurthi@intel.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>When expression evaluation is performed while stopped in an inlined method, and
the inferior has been compiled with gcc, the variable list for the function
block may not include the 'this' pointer. Specifically, when the inlined
method is not called from a method of the same struct or class, the following
assertion occurs:
'Stopped in a C++ method, but 'this' isn't available; pretending we are in a
generic context'
Reproduced using gcc 4.6.3 on Ubuntu 12.04 with:
./dotest.py -v -C gcc lang/cpp/this
Note that the above test passes with clang, and the test passes if the method
is not decorated with always_inline. A variant on the above test passes if the
always_inline method is called from a method with default attributes.</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>