[PATCH] D138597: DebugInfo: Add/support new DW_LANG codes for recent C and C++ versions

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 23 11:16:41 PST 2022


dblaikie created this revision.
dblaikie added reviewers: aprantl, probinson.
Herald added a reviewer: deadalnix.
Herald added a subscriber: hiraditya.
Herald added a project: All.
dblaikie requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138597

Files:
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/test/CodeGen/debug-info-programming-language.c
  clang/test/CodeGenCXX/debug-info-programming-language.cpp
  llvm/include/llvm-c/DebugInfo.h
  llvm/include/llvm/BinaryFormat/Dwarf.def
  llvm/include/llvm/BinaryFormat/Dwarf.h
  llvm/lib/IR/DIBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138597.477570.patch
Type: text/x-patch
Size: 7829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221123/5c6c6b18/attachment.bin>


More information about the cfe-commits mailing list