add attributes and module level asm to the ocaml bindings,
[oota-llvm.git] / lib / VMCore / Core.cpp
index 634407ca13ff78beef34554b374dc0d5f0ee57fc..8c88f5dae243ec0e8d2eac4ac8873c44eb00d7c4 100644 (file)
@@ -119,6 +119,11 @@ void LLVMDumpModule(LLVMModuleRef M) {
   unwrap(M)->dump();
 }
 
   unwrap(M)->dump();
 }
 
+/*--.. Operations on inline assembler ......................................--*/
+void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm) {
+  unwrap(M)->setModuleInlineAsm(StringRef(Asm));
+}
+
 
 /*===-- Operations on types -----------------------------------------------===*/
 
 
 /*===-- Operations on types -----------------------------------------------===*/