llvm-6502/bindings/python/llvm
Anders Waldenborg 17cfe87c39 [python] fix get_library()
Before this fix, the LLVM Python bindings on SVN trunk always fail with:
	Exception: LLVM shared library not found!
since it's still looking for a library named "LLVM-3.1svn".

Besides updating the LLVM version in the library name,
this patch also changes llvm.get_library() to make it possible to run
the unit tests without installing the LLVM shared library into a
default linker search path.

e.g. after this patch, running the llvm/python unit tests with:
LD_LIBRARY_PATH=../build/Debug+Asserts/lib nosetests -v bindings/python/llvm/tests/
would work on Linux.

Patch from Scott Tsai (with some minor modifications)

Patch also acked by Gregory Szorc



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168390 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-20 22:27:55 +00:00
..
tests [python] Add negative MemoryBuffer testcase 2012-03-22 11:23:52 +00:00
__init__.py
common.py [python] fix get_library() 2012-11-20 22:27:55 +00:00
core.py [llvm.py] Define enumerations from Core.h; add OpCode class 2012-03-10 05:50:56 +00:00
disassembler.py [llvm.py] Implement disassembler interface 2012-03-11 02:32:56 +00:00
enumerations.py [llvm.py] Define enumerations from Core.h; add OpCode class 2012-03-10 05:50:56 +00:00
object.py [llvm.py] Implement interface to object files 2012-03-10 04:41:24 +00:00