[PATCH] D136309: [clang][Toolchains][Gnu] pass -g through to assembler

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 20 10:33:00 PDT 2022


nickdesaulniers added a comment.

In D136309#3871769 <https://reviews.llvm.org/D136309#3871769>, @MaskRay wrote:

> (Note that assembler synthesized debug info for assembly files is a very minor feature. I don't know why the Linux kernel is so fond of it..).

This is _required_ for symbolicating symbols defined in assembler for stack traces. The primary use is for system wide profiling.  See also b/249023842 and b/236733195.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136309



More information about the cfe-commits mailing list