[lldb-dev] Resolving dynamic type based on RTTI fails in case of type names inequality in DWARF and mangled symbols

2017-12-15 Thread xgsa via lldb-dev
Hi, I am working on issue that in C++ program for some complex cases with templates showing dynamic type based on RTTI in lldb doesn't work properly. Consider the following example:enum class TagType : bool {    Tag1 }; struct I {    virtual ~I() = default; }; template struct Impl : pu

[lldb-dev] Resolving dynamic type based on RTTI fails in case of type names inequality in DWARF and mangled symbols

2017-12-15 Thread xgsa via lldb-dev
Sorry, I probably shouldn't have used HTML for that message. Converted to plain text. Original message 15.12.2017, 18:01, "xgsa" : Hi, I am working on issue that in C++ program for some complex cases with templates showing dynamic type based on RTTI in lldb doesn't work prope

Re: [lldb-dev] Resolving dynamic type based on RTTI fails in case of type names inequality in DWARF and mangled symbols

2017-12-18 Thread xgsa via lldb-dev
n cause > quite long delays in big programs. So I would be much more worried about a > solution that requires this kind of work. Again, if you can reject most > potential candidates by looking at the name, and only have to realize a few > likely types, the approach might n

Re: [lldb-dev] Resolving dynamic type based on RTTI fails in case of type names inequality in DWARF and mangled symbols

2017-12-18 Thread xgsa via lldb-dev
We are already doing it for the mangled names of functions so extending it to types shouldn't be too controversial.Tamas On Mon, 18 Dec 2017, 17:29 xgsa via lldb-dev, <lldb-dev@lists.llvm.org> wrote:Thank you for clarification, Jim, you are right, I misunderstood a little bit what lldb actual

Re: [lldb-dev] Resolving dynamic type based on RTTI fails in case of type names inequality in DWARF and mangled symbols

2017-12-21 Thread xgsa via lldb-dev
21.12.2017, 13:45, "Pavel Labath via lldb-dev" : > On 20 December 2017 at 18:40, Greg Clayton wrote: >>>  On Dec 20, 2017, at 3:33 AM, Pavel Labath wrote: >>> >>>  On 19 December 2017 at 17:39, Greg Clayton via lldb-dev >>>   wrote:  The apple accelerator tables are only enabled for Darwin t