[PATCH] D80242: [Clang] implement -fno-eliminate-unused-debug-types

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 17 15:40:12 PDT 2020


nickdesaulniers added a comment.

In D80242#2093785 <https://reviews.llvm.org/D80242#2093785>, @dblaikie wrote:

> > - fix docs (use declare consistently, avoid define)
>
> Defined would be the right word here (declaring a type is code like "struct foo;" - and this change probably doesn't/shouldn't emit debug info for type declarations, yes?)


Oh, looks like that's a difference between my current implementation and GCC.  GCC does not emit debug info with `-g -fno-eliminate-unused-debug-types` for type declarations; the current version of my patch does.  Let me fix that+add tests+update docs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80242





More information about the cfe-commits mailing list