llvm-project
2918e779 - [mlir][debuginfo] Add support for subprogram annotations (#110946)

Commit
1 year ago
[mlir][debuginfo] Add support for subprogram annotations (#110946) LLVM already supports `DW_TAG_LLVM_annotation` entries for subprograms, 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.
Parents
Loading