[all-commits] [llvm/llvm-project] b1ea01: [clang][DebugInfo] Support debug info for alias va...

kavitha-natarajan via All-commits all-commits at lists.llvm.org
Thu Apr 7 04:46:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1ea0191a42074341847d767609f66a26b6d5a41
      https://github.com/llvm/llvm-project/commit/b1ea0191a42074341847d767609f66a26b6d5a41
  Author: Kavitha Natarajan <kavitha.natarajan at amd.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    A clang/test/CodeGen/debug-info-alias.c

  Log Message:
  -----------
  [clang][DebugInfo] Support debug info for alias variable

clang to emit DWARF information for global alias variable as
DW_TAG_imported_declaration. This change also handles nested
(recursive) imported declarations.

Reviewed by: dblaikie, aprantl

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




More information about the All-commits mailing list