[lldb-dev] [Bug 17722] lldb incorreclty shows virtual base object members

via lldb-dev lldb-dev at lists.llvm.org
Thu Jul 18 18:51:06 PDT 2019


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

Jonas Devlieghere <jdevlieghere at apple.com> changed:

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

--- Comment #2 from Jonas Devlieghere <jdevlieghere at apple.com> ---
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea6 a.out`main at main.cpp:26:12
   23   {
   24       CBA* ptr = new CBA;
   25       ptr->f();
-> 26       return ptr->a;
   27   }
(lldb) p *ptr
(CBA) $0 = {
  BA = {
    A = (a = 44)
  }
  CA = {
    A = (a = 44)
  }
}

-- 
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/881d4b17/attachment.html>


More information about the lldb-dev mailing list