[all-commits] [llvm/llvm-project] 9c3c67: [mlir][debuginfo] Add support for subroutine annot...

Walter Erquinigo via All-commits all-commits at lists.llvm.org
Wed Oct 2 19:40:21 PDT 2024


  Branch: refs/heads/users/walter-erquinigo/annotations
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c3c671a413dc4d91e9dede917d7061893e43673
      https://github.com/llvm/llvm-project/commit/9c3c671a413dc4d91e9dede917d7061893e43673
  Author: walter erquinigo <walter at modular.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
    M mlir/lib/Dialect/LLVMIR/Transforms/DIScopeForLLVMFuncOp.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp

  Log Message:
  -----------
  [mlir][debuginfo] Add support for subroutine annotations

LLVM already supports `DW_TAG_LLVM_annotation` entries for subroutines, but this hasn't been surfaced to the LLVM dialect.
I'm doing the minimal amount of work to support string-based annotations, which is useful for attaching metadata to
functions, which is useful for debuggers to offer features beyond basic DWARF.
As LLVM already supports this, this patch is not controversial.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list