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

Frédéric Riss via lldb-dev lldb-dev at lists.llvm.org
Wed Dec 20 11:17:12 PST 2017



> On Dec 20, 2017, at 11:12 AM, Ted Woodward via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> 
> 
>> -----Original Message-----
>> From: lldb-dev [mailto:lldb-dev-bounces at lists.llvm.org] On Behalf Of Greg
>> Clayton via lldb-dev
>> Sent: Wednesday, December 20, 2017 12:41 PM
>> To: Pavel Labath <labath at google.com>
>> Cc: lldb-dev at lists.llvm.org
>> Subject: Re: [lldb-dev] Resolving dynamic type based on RTTI fails in case of
>> type names inequality in DWARF and mangled symbols
>> 
>> 
>> Modifying llvm-dsymutil to handle ELF so we can use "llvm-dsymutil --update
>> foo.elf" is the quickest way that doesn't involve modifying anything but llvm-
>> dsymutil. It will generate the accelerator tables manually and add/modify the
>> existing accelerator tables and write out the new elf file that is all fixed up. I
>> would suggest going this route at first to see what performance improvements
>> we will see with linux so that can drive how quickly we need to adopt this.
> 
> I like this. The question is - has everything we need in llvm-dsymutil been upstreamed by Apple?

Unfortunately not. Accelerator tables is one big missing piece (not because we don’t want to, it was blocked on some reviews). We plan to work on this in the coming months though.

Fred

> --
> Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list