summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/BitReader.h
Commit message (Collapse)AuthorAgeFilesLines
* Change llvm-c's ordering of contexts to make it consistent.Erick Tryzelaar2009-08-111-4/+4
| | | | llvm-svn: 78656
* Restore other bits of the C API that I tore up. All pre-existing APIs ↵Owen Anderson2009-07-021-2/+10
| | | | | | | | | | default to using the default global context, while new *InContext() APIs have been added that take a LLVMContextRef parameter. Apologies to anyone affected by this breakage. llvm-svn: 74694
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-011-1/+2
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. Boy are my fingers tired. ;-) llvm-svn: 45411
* Adding bindings for memory buffers and module providers. SwitchingGordon Henriksen2007-12-191-15/+12
| | | | | | to exceptions rather than variants for error handling in Ocaml. llvm-svn: 45226
* Add (very basic) bindings for ModuleProvider.Gordon Henriksen2007-12-121-0/+7
| | | | llvm-svn: 44899
* Adding Ocaml bindings for the bitreader as requested by SarahGordon Henriksen2007-12-111-0/+43
Thompson. Usage should be something like this: open Llvm open Llvm_bitreader match read_bitcode_file fn with | Bitreader_failure msg -> prerr_endline msg | Bitreader_success m -> ...; dispose_module m Compile with: ocamlc llvm.cma llvm_bitreader.cma ocamlopt llvm.cmxa llvm_bitreader.cmxa llvm-svn: 44824
OpenPOWER on IntegriCloud