[all-commits] [llvm/llvm-project] eb98ab: [LLVM-C] Use unwrapDI in LLVMDITypeGetName

Tamir Duberstein via All-commits all-commits at lists.llvm.org
Fri Jul 7 09:51:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb98abab2c83c9c101c4749c93836108657d6164
      https://github.com/llvm/llvm-project/commit/eb98abab2c83c9c101c4749c93836108657d6164
  Author: Tamir Duberstein <tamird at gmail.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M llvm/lib/IR/DebugInfo.cpp
    A llvm/test/Bindings/llvm-c/di-type-get-name.ll
    M llvm/tools/llvm-c-test/debuginfo.c
    M llvm/tools/llvm-c-test/llvm-c-test.h
    M llvm/tools/llvm-c-test/main.c

  Log Message:
  -----------
  [LLVM-C] Use unwrapDI in LLVMDITypeGetName

This function otherwise crashes. This behavior has been incorrect since
its introduction in 260b581498bed0b847e7e086852e0082d266711d (D46627).

Reviewed By: scott.linder

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




More information about the All-commits mailing list