projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add attributes and module level asm to the ocaml bindings,
[oota-llvm.git]
/
lib
/
VMCore
/
Core.cpp
diff --git
a/lib/VMCore/Core.cpp
b/lib/VMCore/Core.cpp
index 634407ca13ff78beef34554b374dc0d5f0ee57fc..8c88f5dae243ec0e8d2eac4ac8873c44eb00d7c4 100644
(file)
--- a/
lib/VMCore/Core.cpp
+++ b/
lib/VMCore/Core.cpp
@@
-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 -----------------------------------------------===*/