backports.h raw

   1  
   2  #include "llvm-c/DebugInfo.h"
   3  #include "llvm-c/Types.h"
   4  
   5  #ifdef __cplusplus
   6  extern "C" {
   7  #endif
   8  
   9  void LLVMGlobalObjectAddMetadata(LLVMValueRef objValue, unsigned KindID, LLVMMetadataRef md);
  10  
  11  LLVMMemoryBufferRef LLVMGoWriteThinLTOBitcodeToMemoryBuffer(LLVMModuleRef M);
  12  
  13  void LLVMGoDIBuilderInsertDbgValueRecordAtEnd(
  14      LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo,
  15      LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMBasicBlockRef Block);
  16  
  17  #ifdef __cplusplus
  18  }
  19  #endif /* defined(__cplusplus) */
  20