HomePhabricator

[LLVM-C] Expose functions to create debug locations via DIBuilder.

Description

[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

Details