[lldb-dev] [Bug 14805] New: Evaluating expressions that contains allocation is broken on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 4 14:46:46 PST 2013


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

             Bug #: 14805
           Summary: Evaluating expressions that contains allocation 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


Evaluating an expression that requires allocating memory returns incorrect
results on Linux:

(lldb) expr char c[] = "foo"; c[0]
(char) $0 = 'z'


The above can be reproduced with the following command (from the test
directory):

python dotest.py --executable <path-to-lldb> expression_command/radar_9673664


It is possible this is related to bug 14437 (evalating expressions with
function calls).

-- 
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