Patch for OCaml "Kaleidoscope" examples

Please find attached a patch that updates the OCaml "Kaleidoscope"
examples in the LLVM repo to work with the latest versions of LLVM.
According to the LLVM contributor guide, this is where I should submit
it.

I've just started working with LLVM and am not very familiar with it,
but was able to figure out how to update the OCaml examples to build
properly with LLVM 3.4.

Also, this is the first svn patch I've ever created (I'm used to
working in Git), so apologies if there are any problems with the
patch. If so, I'd be happy to fix them.

Thanks,

Eric S. Bullington

ocaml_updates.patch (2.67 KB)

Please find attached a patch that updates the OCaml "Kaleidoscope"
examples in the LLVM repo to work with the latest versions of LLVM.
According to the LLVM contributor guide, this is where I should submit
it.

This will get more eyes at llvm-commits@cs.uiuc.edu. Yell [PATCH] in
the subject line.

I've just started working with LLVM

Welcome!

and am not very familiar with it,
but was able to figure out how to update the OCaml examples to build
properly with LLVM 3.4.

Awesome, thanks for working on this.

Also, this is the first svn patch I've ever created (I'm used to
working in Git)

There's no need to leave git behind:

http://llvm.org/docs/GettingStarted.html#sending-patches-with-git