aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Core.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-10 17:52:58 +0000
committerChris Lattner <sabre@nondot.org>2010-04-10 17:52:58 +0000
commitb6a1412b8d49c9145e6b804ab16383635fe60fe3 (patch)
tree5c1416481e188562f2f29a8b1613605828308284 /lib/VMCore/Core.cpp
parent3711dc28a5d72750bee014dad9f63c84a6868b0e (diff)
downloadexternal_llvm-b6a1412b8d49c9145e6b804ab16383635fe60fe3.zip
external_llvm-b6a1412b8d49c9145e6b804ab16383635fe60fe3.tar.gz
external_llvm-b6a1412b8d49c9145e6b804ab16383635fe60fe3.tar.bz2
add attributes and module level asm to the ocaml bindings,
patch by Patrick Walton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Core.cpp')
-rw-r--r--lib/VMCore/Core.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp
index 634407c..8c88f5d 100644
--- a/lib/VMCore/Core.cpp
+++ b/lib/VMCore/Core.cpp
@@ -119,6 +119,11 @@ void LLVMDumpModule(LLVMModuleRef M) {
unwrap(M)->dump();
}
+/*--.. Operations on inline assembler ......................................--*/
+void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm) {
+ unwrap(M)->setModuleInlineAsm(StringRef(Asm));
+}
+
/*===-- Operations on types -----------------------------------------------===*/