[all-commits] [llvm/llvm-project] cab12f: [DebugInfo] convert btf_tag attrs to annotations f...

yonghong-song via All-commits all-commits at lists.llvm.org
Thu Aug 19 18:02:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cab12fc28c75ea82b747d636a9d20f0840777299
      https://github.com/llvm/llvm-project/commit/cab12fc28c75ea82b747d636a9d20f0840777299
  Author: Yonghong Song <yhs at fb.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    A clang/test/CodeGen/attr-btf_tag-dicomposite-2.c
    A clang/test/CodeGen/attr-btf_tag-dicomposite.c

  Log Message:
  -----------
  [DebugInfo] convert btf_tag attrs to annotations for DIComposite types

Clang patch D106614 added attribute btf_tag support. This patch
generates btf_tag annotations for DIComposite types.
Each btf_tag annotation is represented as a 2D array of
meta strings. Each record may have more than one
btf_tag annotations.

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




More information about the All-commits mailing list