[lldb-dev] [Bug 39797] New: ExpressionParser: Couldn't apply expression side effects : couldn't write the new contents of l_17 back into the variable

via lldb-dev lldb-dev at lists.llvm.org
Mon Nov 26 17:27:38 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39797

            Bug ID: 39797
           Summary: ExpressionParser: Couldn't apply expression side
                    effects : couldn't write the new contents of l_17 back
                    into the variable
           Product: lldb
           Version: 7.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org

$ ./clang a-prepro.c -g -O1 -Wno-everything

(lldb) br set -l 2199
Breakpoint 1: where = a.out`func_1 + 41 at a-prepro.c:2199:12, address =
0x0000000100000f59
(lldb) r
[…]
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000f59 a.out`func_1 at a-prepro.c:2199:12 [opt]
   2196         l_17[0] |= (*l_8);
   2197         --l_31;
   2198     }
-> 2199     return g_2[8][1];
   2200 }
   2201
   2202
(lldb) frame var l_17
(int32_t [1]) l_17 = ([0] = <extracting data from value failed>)
(lldb) p l_17
error: Couldn't apply expression side effects : couldn't write the new contents
of l_17 back into the variable

-- 
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/20181127/eddd479b/attachment.html>


More information about the lldb-dev mailing list