[all-commits] [llvm/llvm-project] c73876: Reapply "DebugInfo: Add/support new DW_LANG codes ...

David Blaikie via All-commits all-commits at lists.llvm.org
Mon Dec 12 14:36:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c73876db4f2dfd2c38d5720f62509e57f23b2059
      https://github.com/llvm/llvm-project/commit/c73876db4f2dfd2c38d5720f62509e57f23b2059
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGen/debug-info-preprocessed-file.i
    A clang/test/CodeGen/debug-info-programming-language.c
    M clang/test/CodeGenCXX/debug-info-programming-language.cpp
    M clang/test/PCH/debug-info-pch-container-path.c

  Log Message:
  -----------
  Reapply "DebugInfo: Add/support new DW_LANG codes for recent C and C++ versions""

This may be a breaking change for consumers if they're trying to detect
if code is C or C++, since it'll start using new codes that they may not
be ready to recognize, in which case they may fall back to non-C
handling.

This caused regressions due to PS4 having a different default for C
language version than other targets. Those tests were adapted to be
relaxed about which C version is used.

This reapplies commit 3c312e48f325c1b1ee11404ee6cfa08ee00037b0
Which was reverted by commit 6ab6085c77ef9bcdabf842342f63fba4291791a4.

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




More information about the All-commits mailing list