Re: F34 Change proposal: Debug Info LLDB Index (System-Wide change)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 30, 2020 at 10:33:59AM +0200, Jan Kratochvil wrote:
> On Wed, 30 Sep 2020 02:11:34 +0200, Neal Gompa wrote:
> > Why don't you add an lldb-add-index tool to generate LLVM indexes for
> > LLDB?
> 
> Because doing it separately like GDB does is a wrong thing for
> edit-compile-debug cycle. When clang (lld for LTO) has all the data incl. IR
> already in memory it can much more faster produce the index for it.

clang definitely doesn't have all the data already in memory, it has just a
single translation unit in memory at a time.
So, such a .debug_names is completely useless, because then you don't have
one index, but hundreds if not thousands of them that all needs to be
queried for the same information.
That is why the index should be added by linkers or post-link tools.

And, if LLDB can cope only with clang generated .debug_names and can't deal
with .debug_names generated by other tools, something is seriously wrong.

	Jakub
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux