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