[all-commits] [llvm/llvm-project] 40a3fc: [DebugInfo][CallSites] Remove decl subprograms fro...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Mon Jun 1 00:11:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 40a3fcb05c83c41862038277aa667c956e7cac82
      https://github.com/llvm/llvm-project/commit/40a3fcb05c83c41862038277aa667c956e7cac82
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGen/debug-info-extern-call.c
    M clang/test/Modules/DebugInfoTransitiveImport.m
    M clang/test/Modules/ModuleDebugInfo.cpp
    M clang/test/Modules/ModuleDebugInfo.m

  Log Message:
  -----------
  [DebugInfo][CallSites] Remove decl subprograms from 'retainedTypes:'

After the D70350, the retainedTypes: isn't being used for the purpose
of call site debug info for extern calls, so it is safe to delete it
from IR representation.
We are also adding a test to ensure the subprogram isn't stored within
the retainedTypes: from corresponding DICompileUnit.

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




More information about the All-commits mailing list