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: [email protected]
        ReportedBy: [email protected]
    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.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to