[PATCH] D82367: [ObjectYAML][ELF] Add support for emitting the .debug_gnu_pubnames/pubtypes sections.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 17:39:15 PST 2021


Higuoxing added a comment.

The GCC doc mentions that the "-ggnu-pubnames" option is only useful with a linker that can produce GDB@ index version 7.

  @item -ggnu-pubnames
  @opindex ggnu-pubnames
  Generate @code{.debug_pubnames} and @code{.debug_pubtypes} sections in a format
  suitable for conversion into a GDB@ index.  This option is only useful
  with a linker that can produce GDB@ index version 7.

See: https://raw.githubusercontent.com/gcc-mirror/gcc/master/gcc/doc/invoke.texi (This file is large, searching key word "ggnu-pubnames" may help)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82367



More information about the llvm-commits mailing list