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

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 18 11:25:59 PDT 2018


ruiu added a comment.

What I found is lld consumes a lot of memory when we feed object files containing .zdebug_gnu_pub{names,types} sections because it uncompresses them in memory. I don't know how realistic that scenario is, but that's at least I tried.

Currently, if no --gdb-index is given, lld just concatenates .{,z}debug_gnu_pub{names,types} by section name because that's the default behavior of the linker. Can external tools consume such concatenated sections?


https://reviews.llvm.org/D52241





More information about the llvm-commits mailing list