[LLVM-C] Expose functions to create debug locations via DIBuilder.
authorwhitequark <whitequark@whitequark.org>
Wed, 1 Nov 2017 22:18:52 +0000 (22:18 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 1 Nov 2017 22:18:52 +0000 (22:18 +0000)
commit789164d4262b4132e074fadd6e1df8328618e30e
tree264e0442948ef2c759aeef7d9d864e757fdbbab1
parent3837322a6b757230368cec94cf2766734983df72
[LLVM-C] Expose functions to create debug locations via DIBuilder.

These include:
  * Several functions for creating an LLVMDIBuilder,
  * LLVMDIBuilderCreateCompileUnit,
  * LLVMDIBuilderCreateFile,
  * LLVMDIBuilderCreateDebugLocation.

Patch by Harlan Haskins.

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

llvm-svn: 317135
llvm/include/llvm-c/DebugInfo.h [new file with mode: 0644]
llvm/lib/IR/DebugInfo.cpp
llvm/test/Bindings/llvm-c/debug_info.ll [new file with mode: 0644]
llvm/tools/llvm-c-test/CMakeLists.txt
llvm/tools/llvm-c-test/debuginfo.c [new file with mode: 0644]
llvm/tools/llvm-c-test/llvm-c-test.h
llvm/tools/llvm-c-test/main.c