[all-commits] [llvm/llvm-project] faa3a5: [clang][DebugInfo] DWARFv5: static data members de...

Michael Buch via All-commits all-commits at lists.llvm.org
Wed Nov 15 03:01:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faa3a5ea9ae481da757dab1c95c589e2d5645982
      https://github.com/llvm/llvm-project/commit/faa3a5ea9ae481da757dab1c95c589e2d5645982
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGenCXX/debug-info-static-inline-member.cpp
    M clang/test/CodeGenCXX/debug-info-static-member.cpp

  Log Message:
  -----------
  [clang][DebugInfo] DWARFv5: static data members declarations are DW_TAG_variable (#72235)

This patch implements the DWARFv5 issue 161118.1: "DW_TAG for C++ static
data members".

This will simplify LLDB's handling of static data members greatly in the
long term since we no longer need to differentiate non-static from
static data member declarations using non-portable heuristics.

Depends on:
* https://github.com/llvm/llvm-project/pull/72234




More information about the All-commits mailing list