[LLVM-C] Add DIBuilder bindings to create import declarations
authorRobert Widmann <devteam.codafi@gmail.com>
Sat, 28 Apr 2018 22:32:07 +0000 (22:32 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Sat, 28 Apr 2018 22:32:07 +0000 (22:32 +0000)
commitaec494f3c4226778057ae194d28e131d9df516d8
treedbb25ec758a385e06da997b4209e610d06d7d20c
parentda3e8c4ba791f2bcca018873c3461f636db72bb1
[LLVM-C] Add DIBuilder bindings to create import declarations

Summary: Add bindings to create import declarations for modules, functions, types, and other entities.  This wraps the conveniences available in the existing DIBuilder API, but these seem C++-specific.

Reviewers: whitequark, harlanhaskins, deadalnix

Reviewed By: whitequark

Subscribers: llvm-commits

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

llvm-svn: 331123
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