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
Paths
| Differential D138415
add LLVMGetDINodeTag ClosedPublic Authored by davibe on Nov 21 2022, 3:59 AM.
Details
Summary 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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 29 2022, 1:31 PM This revision was landed with ongoing or failed builds.Feb 8 2023, 4:29 PM Closed by commit rGe87cc8a979a8: add LLVMGetDINodeTag to C bindings (authored by davibe, committed by aprantl). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions Looks like this was fixed in commit 2700d66a054327c2dbb90d8b44b1d5cf3b0043b8 Author: Kazu Hirata <kazu@google.com> Date: Wed Feb 8 21:00:45 2023 -0800 [llvm-c-test] Fix unused variable warnings Thanks!
Revision Contents
Diff 477080 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
|
Could you fold it into assert?