[llvm-commits] [PATCH] [python] fix test_get_symbols() unit test

Scott Tsai scottt.tw at gmail.com
Fri Nov 9 21:24:46 PST 2012


(Actually attach the patch this time)

The test_get_symbols() test in the LLVM python bindings wants to
list the symbols from libreadline.so. This would fail on most Linux
distributions since they ship all libraries stripped.

This patch adds two new functions, LLVMGetDynamicSymbols() and
LLVMIsDynamicSymbolIteratorAtEnd() to the C interface in "llvm-c/Object.h".
Adds Python bindings to them and changes test_get_symbols() to
list dynamic symbols from libreadline.so instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-python-fix-test_get_symbols-unit-test.patch
Type: application/octet-stream
Size: 5989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121110/e817e192/attachment.obj>


More information about the llvm-commits mailing list