[PATCH] D133376: Allow epilogue_begin to be emitted when generating DWARF

Ariel Burton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 19:19:39 PDT 2022


Ariel-Burton added a comment.

In D133376#3784313 <https://reviews.llvm.org/D133376#3784313>, @aprantl wrote:

> I think this is a reasonable feature to support. As @MatzeB pointed out, it may not be useful in optimized code. Are you primarily targeting optimized or unoptimized code? How much does the debug info size grow in % if you build, e.g., clang?

I sampled the binaries generated by a x86-64 linux build of clang.  As one might expect, the section that grew is .debug_line.  I see an increases of about 2%.  However, the overall size of just the debug info increases by considerably less, about 0.3%. The increase of the overall file size is even less, at about 0,2%.  Interestingly, I saw small reductions in the sizes of the .debug_line_str and .debug_str sections.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133376/new/

https://reviews.llvm.org/D133376



More information about the llvm-commits mailing list