]> granicus.if.org Git - llvm/commit
[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)
commit8b4e833a6e12d6bc11d3f5802ddcec657dc9205e
tree2c4735dbf198468c856b94b435da3959b58fc014
parent01dd53d4bd9f4e9a14e1bf1c037df9c90522d464
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317135 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/DebugInfo.h [new file with mode: 0644]
lib/IR/DebugInfo.cpp
test/Bindings/llvm-c/debug_info.ll [new file with mode: 0644]
tools/llvm-c-test/CMakeLists.txt
tools/llvm-c-test/debuginfo.c [new file with mode: 0644]
tools/llvm-c-test/llvm-c-test.h
tools/llvm-c-test/main.c