diff options
author | Devang Patel <dpatel@apple.com> | 2011-12-20 19:29:36 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-12-20 19:29:36 +0000 |
commit | 9224540efc6156520dded09ea49c6b30489c50e6 (patch) | |
tree | 9eea24bdb8735001ee69f5e2c6c39283a441724a /llvm/include/llvm-c/Core.h | |
parent | 75e2ab5db2c039df920886cdc12604430dc96600 (diff) | |
download | bcm5719-llvm-9224540efc6156520dded09ea49c6b30489c50e6.tar.gz bcm5719-llvm-9224540efc6156520dded09ea49c6b30489c50e6.zip |
Add support to add named metadata operand.
Patch by Andrew Wilkins!
llvm-svn: 146984
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index ed7d46932c7..63d6fd41e22 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -567,6 +567,8 @@ LLVMValueRef LLVMMDNode(LLVMValueRef *Vals, unsigned Count); const char *LLVMGetMDString(LLVMValueRef V, unsigned* Len); unsigned LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, const char* name); void LLVMGetNamedMetadataOperands(LLVMModuleRef M, const char* name, LLVMValueRef *Dest); +void LLVMAddNamedMetadataOperand(LLVMModuleRef M, const char* name, + LLVMValueRef Val); /* Operations on scalar constants */ LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, |