diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-04-10 13:29:37 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-04-10 13:29:37 +0000 |
commit | 71660b032164ab4ba9f0f3d74db77e032f0b09f6 (patch) | |
tree | d79fc79f1cb58145d68c79d6fffff5cce0791cf1 /llvm/include/llvm-c/Core.h | |
parent | 651463e4a8fe4ef29cdbe595ce32b1ffba6b2559 (diff) | |
download | bcm5719-llvm-71660b032164ab4ba9f0f3d74db77e032f0b09f6.tar.gz bcm5719-llvm-71660b032164ab4ba9f0f3d74db77e032f0b09f6.zip |
Revert "[LLVM-C] Correct The Current Debug Location Accessors"
This reverts commit r358039, which added symbols that conflict with the
Go bindings.
llvm-svn: 358082
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 3d153d50aa9..6adb4d80011 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -3510,42 +3510,9 @@ void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, void LLVMDisposeBuilder(LLVMBuilderRef Builder); /* Metadata */ - -/** - * Get location information used by debugging information. - * - * @see llvm::IRBuilder::getCurrentDebugLocation() - */ -LLVMMetadataRef LLVMGetCurrentDebugLocation2(LLVMBuilderRef Builder); - -/** - * Set location information used by debugging information. - * - * To clear the location metadata of the given instruction, pass NULL to \p Loc. - * - * @see llvm::IRBuilder::SetCurrentDebugLocation() - */ -void LLVMSetCurrentDebugLocation2(LLVMBuilderRef Builder, LLVMMetadataRef Loc); - -/** - * Attempts to set the debug location for the given instruction using the - * current debug location for the given builder. If the builder has no current - * debug location, this function is a no-op. - * - * @see llvm::IRBuilder::SetInstDebugLocation() - */ -void LLVMSetInstDebugLocation(LLVMBuilderRef Builder, LLVMValueRef Inst); - -/** - * Deprecated: Passing the NULL location will crash. - * Use LLVMGetCurrentDebugLocation2 instead. - */ void LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder, LLVMValueRef L); -/** - * Deprecated: Returning the NULL location will crash. - * Use LLVMGetCurrentDebugLocation2 instead. - */ LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder); +void LLVMSetInstDebugLocation(LLVMBuilderRef Builder, LLVMValueRef Inst); /* Terminators */ LLVMValueRef LLVMBuildRetVoid(LLVMBuilderRef); |