@@ -3510,42 +3510,9 @@ void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr,
3510
3510
void LLVMDisposeBuilder (LLVMBuilderRef Builder );
3511
3511
3512
3512
/* Metadata */
3513
-
3514
- /**
3515
- * Get location information used by debugging information.
3516
- *
3517
- * @see llvm::IRBuilder::getCurrentDebugLocation()
3518
- */
3519
- LLVMMetadataRef LLVMGetCurrentDebugLocation2 (LLVMBuilderRef Builder );
3520
-
3521
- /**
3522
- * Set location information used by debugging information.
3523
- *
3524
- * To clear the location metadata of the given instruction, pass NULL to \p Loc.
3525
- *
3526
- * @see llvm::IRBuilder::SetCurrentDebugLocation()
3527
- */
3528
- void LLVMSetCurrentDebugLocation2 (LLVMBuilderRef Builder , LLVMMetadataRef Loc );
3529
-
3530
- /**
3531
- * Attempts to set the debug location for the given instruction using the
3532
- * current debug location for the given builder. If the builder has no current
3533
- * debug location, this function is a no-op.
3534
- *
3535
- * @see llvm::IRBuilder::SetInstDebugLocation()
3536
- */
3537
- void LLVMSetInstDebugLocation (LLVMBuilderRef Builder , LLVMValueRef Inst );
3538
-
3539
- /**
3540
- * Deprecated: Passing the NULL location will crash.
3541
- * Use LLVMGetCurrentDebugLocation2 instead.
3542
- */
3543
3513
void LLVMSetCurrentDebugLocation (LLVMBuilderRef Builder , LLVMValueRef L );
3544
- /**
3545
- * Deprecated: Returning the NULL location will crash.
3546
- * Use LLVMGetCurrentDebugLocation2 instead.
3547
- */
3548
3514
LLVMValueRef LLVMGetCurrentDebugLocation (LLVMBuilderRef Builder );
3515
+ void LLVMSetInstDebugLocation (LLVMBuilderRef Builder , LLVMValueRef Inst );
3549
3516
3550
3517
/* Terminators */
3551
3518
LLVMValueRef LLVMBuildRetVoid (LLVMBuilderRef );
0 commit comments