http://llvm.org/bugs/show_bug.cgi?id=14595
Bug #: 14595
Summary: Expression evaluation of std::string::c_str() fails on
Linux.
Product: lldb
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
AssignedTo: lldb-dev@cs.uiuc.edu
ReportedBy: ashok.thirumurthi@intel.com
Classification: Unclassified
The following expression evaluation fails on Linux:
(lldb) print str.c_str()
To reproduce, run: python dotest.py -i -v expression_command/call-function
(lldb) log enable lldb expr
The logging facility includes the following output, whereas a non-null remote
address is typical of successful expression evaluation:
Code can be run in the target.
Found function, has local address 0x7fab3bc01008 and remote address 0x0
Function's code range is [0x0+0x5e]
Couldn't disassemble function : Couldn't read from process: Input/output
error
Data buffer contents: