[PATCH] D138415: add LLVMGetDINodeTag

Davide Bertola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 03:59:26 PST 2022


davibe created this revision.
davibe added a reviewer: aprantl.
Herald added a reviewer: deadalnix.
Herald added a subscriber: hiraditya.
Herald added a project: All.
davibe requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Hello!

I'm working on a tool that visits debug info it using the llvm-c API. I noticed that there is no way to get the `dwarf::Tag` of a DINode, so I added `LLVMGetDINodeTag`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138415

Files:
  llvm/include/llvm-c/DebugInfo.h
  llvm/lib/IR/DebugInfo.cpp
  llvm/test/Bindings/llvm-c/get-md-tag.ll
  llvm/tools/llvm-c-test/debuginfo.c
  llvm/tools/llvm-c-test/llvm-c-test.h
  llvm/tools/llvm-c-test/main.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138415.476852.patch
Type: text/x-patch
Size: 4146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221121/c6bb01dd/attachment.bin>


More information about the llvm-commits mailing list