[lldb-dev] [Bug 14437] New: Evaluating expressions that contain function calls is broken on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 26 13:34:04 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14437

             Bug #: 14437
           Summary: Evaluating expressions that contain function calls is
                    broken on Linux
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev at cs.uiuc.edu
        ReportedBy: daniel.malea at intel.com
    Classification: Unclassified


Attempting to evaluate an expression that contains a function call is broken on
Linux.

Sometimes, the expression is evaluated but the result is clearly incorrect:
(lldb) expression -- (int)strlen("hello world")
(int) $5 = -764888112

To reproduce the above, run: python dotest.py -i -v lang/c/strings


Sometimes, the expression command itself returns an error:
(lldb) print str.c_str()

To reproduce the above, run: python dotest.py -i -v
expression_command/call-function

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the lldb-dev mailing list