Add C API bindings for DIBuilder 'Type' APIs
authorHarlan Haskins <harlan@harlanhaskins.com>
Mon, 2 Apr 2018 00:17:40 +0000 (00:17 +0000)
committerHarlan Haskins <harlan@harlanhaskins.com>
Mon, 2 Apr 2018 00:17:40 +0000 (00:17 +0000)
commitb7881bbfa255883a3e23821cbc582559cf5a5cd4
treeabaf2390489dc5b97f9f91d5078ce3f8874db0c9
parentdc4a6d1ef6440ea1a5992184b724e71ae3c945f5
Add C API bindings for DIBuilder 'Type' APIs

This patch adds a set of unstable C API bindings to the DIBuilder interface for
creating structure, function, and aggregate types.

This patch also removes the existing implementations of these functions from
the Go bindings and updates the Go API to fit the new C APIs.

llvm-svn: 328953
llvm/bindings/go/llvm/DIBuilderBindings.cpp
llvm/bindings/go/llvm/DIBuilderBindings.h
llvm/bindings/go/llvm/dibuilder.go
llvm/include/llvm-c/DebugInfo.h
llvm/lib/IR/DebugInfo.cpp
llvm/test/Bindings/llvm-c/debug_info.ll
llvm/tools/llvm-c-test/debuginfo.c