https://bugs.llvm.org/show_bug.cgi?id=34820

David Blaikie <dblai...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #3 from David Blaikie <dblai...@gmail.com> ---
I think this should be addressed - but not necessarily by having lld correctly
parse all the DWARF & build names from scratch.

I'll still argue this bug is a good place for this request - because as it
currently stands, lld produces in incorrect index in the absence of
gnu-pubnames (so a request that this "work" in a broad sense, as in "is
correct" - not necessarily "indexes everything")

To summarize a recent discussion:

* given an input with a CU without gnu-pubnames, lld currently includes that CU
in the gdb-index, but without any names indexed - this leads consumers to not
manually index the CU because they believe it's already covered by the index

* lld should either index the contents (expensive in both link time and linker
implementation complexity - probably undesirable as the first resolution of
this bug indicated) or produce an index that does not suggest such CUs are
covered by it

* additionally, probably a warning that the index is incomplete would be nice
(perhaps when -gdb-index is used, a warning if any CU is missing pubnames, and
an error if /all/ CUs are missing pubnames)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to