[llvm-commits] [PATCH] [python] fix test_get_symbols() unit test
Scott Tsai
scottt.tw at gmail.com
Fri Nov 9 21:22:36 PST 2012
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.
More information about the llvm-commits
mailing list