[PATCH] D100630: [Debug-Info][DBX] DW_TAG_rvalue_reference_type should not be generated when dwarf version is smaller than 4

ChenZheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 18 21:17:22 PDT 2021


shchenz added a comment.

In D100630#2694681 <https://reviews.llvm.org/D100630#2694681>, @probinson wrote:

> If DBX is going to be really pedantic about not recognizing tags or attributes that don't align with the DWARF version, maybe we're better off with really supporting `-gstrict-dwarf` and just have DBX tuning imply that.

Hi @probinson thanks for pointing out the way, agree with this new solution. After checking the codes, I found there are already `-gstrict-dwarf`, `-gno-strict-dwarf` options in clang code base, but there seem no users of them. Do you happen to know the story of these two options? I get a quick search, no clue yet. Can we reuse these options for the intention here. Thanks?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100630



More information about the cfe-commits mailing list