[all-commits] [llvm/llvm-project] 3f6388: [mlir][llvm] Import additional debug info from LLV...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Fri Nov 18 00:49:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f63889d58c363348832eaf789e340f11d0d0ee8
      https://github.com/llvm/llvm-project/commit/3f63889d58c363348832eaf789e340f11d0d0ee8
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M mlir/lib/Target/LLVMIR/CMakeLists.txt
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    A mlir/lib/Target/LLVMIR/DebugImporter.cpp
    A mlir/lib/Target/LLVMIR/DebugImporter.h
    M mlir/test/Target/LLVMIR/Import/debug-info.ll

  Log Message:
  -----------
  [mlir][llvm] Import additional debug info from LLVMIR.

Add a DebugImporter to convert LLVMIR debug metadata into
MLIR debug attributes. It is the counterpart to the
DebugTranslation class and supports the same attributes.
The revision only supports the translation of instruction,
function, and module debug information. The import of
intrinsics is left to a later revision.

Depends on D138206

Reviewed By: rriddle

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




More information about the All-commits mailing list