[PATCH] D99250: [DebugInfo] Fix the mismatching of C++ language tags and Dwarf versions.

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 25 11:28:08 PDT 2021


dblaikie added a comment.

Does anyone else have a DWARFv3 consumer they care about? (@aprantl and @probinson)
Does anyone have a DWARF consumer that changes significantly based on the language version (I guess lldb (@aprantl can you confirm?)? I doubt gdb does (yeah, it just treats all C++ versions the same <https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/dwarf2/read.c;h=ee6f3f7f7e14f722ec9bb6780563fa0bbbe268cc;hb=refs/heads/master#l21006>)? how about Sony?)

so if no one's got a particular reason that one C++ version is better than another, except lldb, perhaps we just emit the newer language codes in old DWARF when tuning for lldb but not otherwise?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99250



More information about the cfe-commits mailing list