diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-10 17:52:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-10 17:52:58 +0000 |
commit | 2694145e2ea170431c92618cab89ca928effd54d (patch) | |
tree | feb7edbab602ae42d4dd8d1aa465ffa9b701529a /llvm/lib/VMCore/Core.cpp | |
parent | 6e444c07b724768e512308474553f42a8e4ff757 (diff) | |
download | bcm5719-llvm-2694145e2ea170431c92618cab89ca928effd54d.tar.gz bcm5719-llvm-2694145e2ea170431c92618cab89ca928effd54d.zip |
add attributes and module level asm to the ocaml bindings,
patch by Patrick Walton!
llvm-svn: 100932
Diffstat (limited to 'llvm/lib/VMCore/Core.cpp')
-rw-r--r-- | llvm/lib/VMCore/Core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Core.cpp b/llvm/lib/VMCore/Core.cpp index 634407ca13f..8c88f5dae24 100644 --- a/llvm/lib/VMCore/Core.cpp +++ b/llvm/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 -----------------------------------------------===*/ |