Introducing LLVMMetadataRef
authorAmaury Sechet <deadalnix@gmail.com>
Mon, 17 Apr 2017 11:52:54 +0000 (11:52 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Mon, 17 Apr 2017 11:52:54 +0000 (11:52 +0000)
commitf8429754d8a30eac5203cb4438ca8d9375cf1f8e
tree0597b48678f329a1c5ac0ea63ec58e222ff41494
parent751579cac0cf426a72d29c5959b5bb8236c7f0fb
Introducing LLVMMetadataRef

Summary:
This seems like an uncontroversial first step toward providing access to the metadata hierarchy that now exists in LLVM. This should allow for good debug info support from C.

Future plans are to deprecate API that take mixed bags of values and metadata (mainly the LLVMMDNode family of functions) and migrate the rest toward the use of LLVMMetadataRef.

Once this is in place, mapping of DIBuilder will be able to start.

Reviewers: mehdi_amini, echristo, whitequark, jketema, Wallbraker

Reviewed By: Wallbraker

Subscribers: Eugene.Zelenko, axw, mehdi_amini, llvm-commits

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

llvm-svn: 300447
llvm/bindings/go/llvm/IRBindings.h
llvm/include/llvm-c/Core.h
llvm/include/llvm-c/Types.h
llvm/include/llvm/IR/Metadata.h
llvm/lib/IR/Core.cpp