[PATCH] D52241: Eliminate .{, z}debug_gnu_pub{names, types} sections as early as possible.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 18 11:19:01 PDT 2018


dblaikie added a comment.

It's possible another tool (gdb itself, for example) could read these sections and construct an index themselves - just later on, but still more efficient than parsing all the DWARF, etc. So I'm not sure if this should be the default or only behavior (not saying it shouldn't be - I'm genuinely unsure).

Did you find this behavior to be a problem in some real-world case? Presumably the user would be better off turning off pubnames to reduce object size, rather than producing them and not using them?


https://reviews.llvm.org/D52241





More information about the llvm-commits mailing list