[LLVM-C] Add more debug information accessors to GlobalObject and Instruction
authorRobert Widmann <devteam.codafi@gmail.com>
Fri, 28 Sep 2018 15:35:18 +0000 (15:35 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Fri, 28 Sep 2018 15:35:18 +0000 (15:35 +0000)
commit9cba4eced8496409c6bf61ffefebeeed08e91282
tree455c82b90bdd0ec572098b86e7ef8eaa6ddb16ca
parent242f90fe82ef60e7dc4629961f7c732ccf5e69f8
[LLVM-C] Add more debug information accessors to GlobalObject and Instruction

Summary: Adds missing debug information accessors to GlobalObject.  This puts the finishing touches on cloning debug info in the echo tests.

Reviewers: whitequark, deadalnix

Reviewed By: whitequark

Subscribers: aprantl, JDevlieghere, llvm-commits, harlanhaskins

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

llvm-svn: 343330
llvm/include/llvm-c/Core.h
llvm/include/llvm-c/Types.h
llvm/lib/IR/Core.cpp
llvm/test/Bindings/llvm-c/echo.ll
llvm/tools/llvm-c-test/echo.cpp