[all-commits] [llvm/llvm-project] 3dc1b1: [mlir][LLVM] Export DICompositeType as distinct MD...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Mon Jul 10 00:01:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dc1b1623931940819b8efdd7021840706e33c7f
      https://github.com/llvm/llvm-project/commit/3dc1b1623931940819b8efdd7021840706e33c7f
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir-debug.mlir

  Log Message:
  -----------
  [mlir][LLVM] Export DICompositeType as distinct MD when necessary

This commit ensures that DICompositeTypes are exported as distinct
metadata nodes for structures, classes, unions, and enumerations.
Not emitting these as distinct metadata can potentially cause linking
issues involving debug sections.

Reviewed By: gysit

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




More information about the All-commits mailing list