[lldb-dev] [Bug 21736] memory read assertion failure with -f a -s 32

via lldb-dev lldb-dev at lists.llvm.org
Fri Jul 19 13:32:51 PDT 2019


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

Jonas Devlieghere <jdevlieghere at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |jdevlieghere at apple.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Jonas Devlieghere <jdevlieghere at apple.com> ---
Process 58989 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000f9f a.out`main at main.cpp:9:12
   6      void f(S2 &M1);
   7    };
   8
-> 9    struct S2 { int x; };
   10
   11   }
   12
(lldb) memory read -f a -s 32 `$rbp` `$rbp + 0x30`
0x7ffeefbff620: error: unsupported byte size (32) for char format
(lldb) memory read -f a -s 64 `$rbp` `$rbp + 0x30`

(lldb)

This now prints nothing, but it doesn't trigger the assertion.

-- 
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/20190719/29211e89/attachment.html>


More information about the lldb-dev mailing list