OSDN Git Service

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)
commit603e72e193c997a85648463175c80979ffe4c6d1
tree8845c5b0176872889cf9cc3aaa362b72fde9dedb
parent63c0d1d702ca0f990b6f2915e7724c143b71e9ce
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300447 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/go/llvm/IRBindings.h
include/llvm-c/Core.h
include/llvm-c/Types.h
include/llvm/IR/Metadata.h
lib/IR/Core.cpp