Bug ID: 30488
           Summary: boost::shared_ptr type show as 'element_type *' in GUI
           Product: lldb
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
    Classification: Unclassified

Created attachment 17333
Example code

In GUI mode I cannot see the real underlying type of the pointer,
it's always printed as 'element_type *', but in command line the real
types are shown. Please see the attached main.cpp to reproduce.

$ g++ -g -Wall -std=c++0x main.cpp -o out
$ lldb ./out
(lldb) b foo
(lldb) r
(lldb) p p.px
(Derived *) $0 = 0x0000000000614c20

However in GUI mode:

│ ◆─(shared_ptr<Base>) p
│ ├─◆─(element_type *) px = 0x0000000000614c20
│ └─◆─(boost::detail::shared_count) pn

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to