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-...@lists.llvm.org
          Reporter: dav...@freebsd.org
                CC: llvm-bugs@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 on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to