61e22cd85cd4c84fff391da67018c92bf21a8e19 |
|
10-Mar-2012 |
Gregory Szorc <gregory.szorc@gmail.com> |
[llvm.py] Implement interface to object files It is now possible to load object files and scan over sections, symbols, and relocations! Includes test code with partial coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152482 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/python/llvm/object.py
|
07c32218f448b7637d4acad8e87ce7cfaef0277e |
|
09-Mar-2012 |
Gregory Szorc <gregory.szorc@gmail.com> |
[llvm.py] Make ObjectFile destructor work Previous code had a double free in MemoryBuffer. The tests now pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/python/llvm/object.py
|
5ae04279e0ed16975e1eea012499e8d833aab3c5 |
|
09-Mar-2012 |
Gregory Szorc <gregory.szorc@gmail.com> |
[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
/external/llvm/bindings/python/llvm/object.py
|