[Bug 30488] New: boost::shared_ptr type show as 'element_type *' in GUI mode

Bug ID 30488
Summary boost::shared_ptr type show as ‘element_type *’ in GUI mode
Product lldb
Version 3.6
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter sergey@vlasov.me
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Created attachment 17333 [details]
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:

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