OSDN Git Service

[LLVM-C] Add Bindings For Named Metadata
authorRobert Widmann <devteam.codafi@gmail.com>
Thu, 30 Aug 2018 17:09:43 +0000 (17:09 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Thu, 30 Aug 2018 17:09:43 +0000 (17:09 +0000)
commit8f32507f5b6f0927fbd8a38248a9bdfe8590bd98
tree0bb17ff6d89812ccf89e5ddc264449364d0b0df2
parente2e1cabd39f8f8d5d3a8f28caeade13a973846e3
[LLVM-C] Add Bindings For Named Metadata

Summary: Add a new type for named metadata nodes.  Use this to implement iterators and accessors for NamedMDNodes and extend the echo test to use them to copy module-level debug information.

Reviewers: whitequark, deadalnix, aprantl, dexonsmith

Reviewed By: whitequark

Subscribers: Wallbraker, JDevlieghere, llvm-commits, harlanhaskins

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341085 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
include/llvm-c/Types.h
include/llvm/IR/Metadata.h
lib/IR/Core.cpp
test/Bindings/llvm-c/echo.ll
tools/llvm-c-test/echo.cpp