llvm-6502/lib/Bitcode/Writer
Gordon Henriksen 8b94a14a78 C bindings for libLLVMCore.a and libLLVMBitWriter.a.
- The naming prefix is LLVM.
- All types are represented using opaque references.
- Functions are not named LLVM{Type}{Method}; the names became
  unreadable goop. Instead, they are named LLVM{ImperativeSentence}.
- Where an attribute only appears once in the class hierarchy (e.g.,
  linkage only applies to values; parameter types only apply to
  function types), the class is omitted from identifiers for
  brevity. Tastes like methods.
- Strings are C strings or string/length tuples on a case-by-case
  basis.
- APIs which give the caller ownership of an object are not mapped
  (removeFromParent, certain constructor overloads). This keeps
  keep memory management as simple as possible.

For each library with bindings:

  llvm-c/<LIB>.h       - Declares the bindings.
  lib/<LIB>/<LIB>.cpp  - Implements the bindings.

So just link with the library of your choice and use the C header
instead of the C++ one.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42077 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-18 03:18:57 +00:00
..
BitcodeWriter.cpp Revise previous patch per review comments. 2007-09-12 03:30:33 +00:00
BitcodeWriterPass.cpp add a new CreateBitcodeWriterPass method, which creates a bitcode writer as 2007-05-06 02:30:12 +00:00
BitWriter.cpp C bindings for libLLVMCore.a and libLLVMBitWriter.a. 2007-09-18 03:18:57 +00:00
Makefile
ValueEnumerator.cpp Fix a nasty problem where we would miss enumeration of some types. This fixes 2007-05-06 08:35:19 +00:00
ValueEnumerator.h Fix a nasty problem where we would miss enumeration of some types. This fixes 2007-05-06 08:35:19 +00:00