aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
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
commit0941534c712d77243d9dda5e8c1d927563b4edff (patch)
tree5c1416481e188562f2f29a8b1613605828308284 /lib/VMCore
parent35a3d3f8cd935817b0fead23dc250706cbb2b071 (diff)
downloadexternal_llvm-0941534c712d77243d9dda5e8c1d927563b4edff.zip
external_llvm-0941534c712d77243d9dda5e8c1d927563b4edff.tar.gz
external_llvm-0941534c712d77243d9dda5e8c1d927563b4edff.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')
-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 -----------------------------------------------===*/