[llvm.py] Initial skeleton for Python LLVM bindings
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 9 Mar 2012 09:07:35 +0000 (09:07 +0000)
committerGregory Szorc <gregory.szorc@gmail.com>
Fri, 9 Mar 2012 09:07:35 +0000 (09:07 +0000)
commit5ae04279e0ed16975e1eea012499e8d833aab3c5
tree4a7b8e40d7732e081a2b88baf29103a930df8dc6
parent1fabd9f85e8ac728c35cb63c70d8aac2c94c92a8
[llvm.py] Initial skeleton for Python LLVM bindings

This contains a semi-functional skeleton for the implementation of the
LLVM bindings for Python.

The API for the Object.h interface is roughly designed but not
implemented. MemoryBufferRef is implemented and actually appears to
work!

The ObjectFile unit test fails with a segmentation fault because the
LLVM library isn't being properly initialized. The build system doesn't
know about this code yet, so no alerts should fire.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152397 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/README.txt [new file with mode: 0644]
bindings/python/llvm/__init__.py [new file with mode: 0644]
bindings/python/llvm/common.py [new file with mode: 0644]
bindings/python/llvm/core.py [new file with mode: 0644]
bindings/python/llvm/object.py [new file with mode: 0644]
bindings/python/tests/test_core.py [new file with mode: 0644]
bindings/python/tests/test_object.py [new file with mode: 0644]