[all-commits] [llvm/llvm-project] 62fa9b: [DebugInfo] Fix the mismatching between C++ langua...

Esme via All-commits all-commits at lists.llvm.org
Mon Apr 12 00:43:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62fa9b9388aa114e3b1a58bbdbcd966ae3492ba5
      https://github.com/llvm/llvm-project/commit/62fa9b9388aa114e3b1a58bbdbcd966ae3492ba5
  Author: Esme-Yi <esme.yi at ibm.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    A clang/test/CodeGenCXX/debug-info-programming-language.cpp
    M clang/test/Modules/ModuleDebugInfo.cpp

  Log Message:
  -----------
  [DebugInfo] Fix the mismatching between C++ language tags and Dwarf versions.

Summary: The tags DW_LANG_C_plus_plus_14 and DW_LANG_C_plus_plus_11, introduced in Dwarf-5, are unexpected in previous versions. Fixing the mismathing doesn't have any drawbacks for any other debuggers, but helps dbx.

Reviewed By: aprantl, shchenz

Differential Revision: https://reviews.llvm.org/D99250




More information about the All-commits mailing list