[lldb-dev] [Bug 30488] New: boost::shared_ptr type show as 'element_type *' in GUI mode
via lldb-dev
lldb-dev at lists.llvm.org
Thu Sep 22 07:46:33 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30488
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 at lists.llvm.org
Reporter: sergey at vlasov.me
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17333
--> https://llvm.org/bugs/attachment.cgi?id=17333&action=edit
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
--
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/20160922/f0f328ec/attachment.html>
More information about the lldb-dev
mailing list