[PATCH] D100809: [Debug-Info] implement -gstrict-dwarf

ChenZheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 21 20:23:04 PDT 2021


shchenz added a comment.

Thanks for your review! @probinson @dblaikie @aprantl



================
Comment at: clang/docs/ClangCommandLineReference.rst:3549-3550
 
+Use DWARF extensions in later DWARF versions.
+
 .. option:: -gz=<arg>, -gz (equivalent to -gz=zlib)
----------------
probinson wrote:
> dblaikie wrote:
> > This description is probably backwards/doesn't explicitly clarify which version of the flag does which behavior.
> > 
> > I guess the only nearby example is the -gembed-source, which describes the effect of -gembed-source, not the effect of -gno-embed-source.
> Maybe something like, "Restrict DWARF features to those defined in the specified version, avoiding features from later versions."
Thanks, will update in the commit


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100809



More information about the cfe-commits mailing list