[PATCH] Additional features for the C API

Chris Wailes chris.wailes at gmail.com
Thu Oct 17 10:08:08 PDT 2013


Hi nlewycky,

This patch adds some missing features from LLVM's C API.  These include the ability to print string representations of LLVM values to files, parsing IR files into Module objects, loading dynamic libraries, and interacting with Tripple objects.  These were features that I found I needed when writing and maintaining my Ruby bindings into the LLVM library.

http://llvm-reviews.chandlerc.com/D1960

Files:
  include/llvm-c/Core.h
  include/llvm-c/IRReader.h
  include/llvm-c/Support.h
  include/llvm-c/Target.h
  include/llvm-c/TargetMachine.h
  lib/IR/Core.cpp
  lib/IRReader/IRReader.cpp
  lib/Target/TargetMachineC.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1960.1.patch
Type: text/x-patch
Size: 11823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131017/765526d3/attachment.bin>


More information about the llvm-commits mailing list