[cfe-dev] Debug info level specification with the clang driver

Robinson, Paul via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 30 11:16:45 PDT 2020


> As long as all the debug info kinds fit onto one axis where the
> next-higher kind adds more debug info than the previous level it
> feels weird to split out some of the options. I guess what you
> really want is to remove -debug-info-kind=none and split that
> out. At the cc1 level, we probably want one flag that does
> nothing but turn on debug info (-emit-debug-info?), and all
> other debug info flags just control what is emitted, if that
> control flag is set.

What Adrian said.  The notion of a "limit" seems like it is really
only refining what happens above "line tables."  Not clear there’s
a benefit to having two separate controls there.
--paulr



More information about the cfe-dev mailing list