summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/go/llvm/DIBuilderBindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/bindings/go/llvm/DIBuilderBindings.cpp')
-rw-r--r--llvm/bindings/go/llvm/DIBuilderBindings.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/bindings/go/llvm/DIBuilderBindings.cpp b/llvm/bindings/go/llvm/DIBuilderBindings.cpp
index 9696582f10c..27845223353 100644
--- a/llvm/bindings/go/llvm/DIBuilderBindings.cpp
+++ b/llvm/bindings/go/llvm/DIBuilderBindings.cpp
@@ -28,19 +28,3 @@ LLVMMetadataRef LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Dref,
File ? unwrap<DIFile>(File) : nullptr, Line,
Context ? unwrap<DIScope>(Context) : nullptr));
}
-
-LLVMValueRef LLVMDIBuilderInsertValueAtEnd(LLVMDIBuilderRef Dref,
- LLVMValueRef Val,
- LLVMMetadataRef VarInfo,
- LLVMMetadataRef Expr,
- LLVMBasicBlockRef Block) {
- // Fail immediately here until the llgo folks update their bindings. The
- // called function is going to assert out anyway.
- llvm_unreachable("DIBuilder API change requires a DebugLoc");
-
- DIBuilder *D = unwrap(Dref);
- Instruction *Instr = D->insertDbgValueIntrinsic(
- unwrap(Val), unwrap<DILocalVariable>(VarInfo), unwrap<DIExpression>(Expr),
- /* DebugLoc */ nullptr, unwrap(Block));
- return wrap(Instr);
-}
OpenPOWER on IntegriCloud