Add a C binding to the Target and TargetMachine classes to allow for emitting
authorDuncan Sands <baldrick@free.fr>
Wed, 11 Apr 2012 10:25:24 +0000 (10:25 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 11 Apr 2012 10:25:24 +0000 (10:25 +0000)
commitd6b7b8f49b0554b82165ecef07de7e9c0c5eeb42
tree903a38f0719838f16e7d408def178543abb06d12
parentd6fc26217e194372cabe4ef9e2514beac511a943
Add a C binding to the Target and TargetMachine classes to allow for emitting
binary and assembly. Patch by Carlo Kok.  Emitting was inspired by but not based
on the D llvm bindings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154493 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/TargetMachine.h [new file with mode: 0644]
lib/Target/CMakeLists.txt
lib/Target/TargetMachineC.cpp [new file with mode: 0644]