[lldb-dev] [Bug 15439] New: Expression evaluation can assert with invalid context
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 4 10:50:14 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15439
Bug ID: 15439
Summary: Expression evaluation can assert with invalid context
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: ashok.thirumurthi at intel.com
Classification: Unclassified
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130304/66bd4454/attachment.html>
More information about the lldb-dev
mailing list