[all-commits] [llvm/llvm-project] 4f320c: [DebugInfo] Include DW_TAG_skeleton_unit when look...

WenleiHe via All-commits all-commits at lists.llvm.org
Sat Mar 12 13:28:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f320ca4ba15dcf9dda8775f74745aab7d3633a6
      https://github.com/llvm/llvm-project/commit/4f320ca4ba15dcf9dda8775f74745aab7d3633a6
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2022-03-12 (Sat, 12 Mar 2022)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DIE.cpp
    A llvm/test/DebugInfo/X86/fission-template.ll

  Log Message:
  -----------
  [DebugInfo] Include DW_TAG_skeleton_unit when looking for parent UnitDie

`DIE::getUnitDie` looks up parent DIE until compile unit or type unit is found. However for skeleton CU with debug fission, we would have DW_TAG_skeleton_unit instead of DW_TAG_compile_unit as top level DIE.

This change fixes the look up so we can get DW_TAG_skeleton_unit as UnitDie for skeleton CU.

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




More information about the All-commits mailing list