E.g. % LLDB=../../../build/bin/lldb-3.4 % python dotest.py -t -v --executable $LLDB -p TestPublicAPIHeaders -f SBDirCheckerCase.test_sb_api_directory runCmd: expression -- (int)strlen("hello") runCmd failed! error: Expression can't be run, because there is no JIT compiled function Related issue on Linux pr14437
Is strlen a GNU indirect function? If so, do function calls that do not involve trampolines execute correctly in expressions?
This was caused by FreeBSD #defining USE_STANDARD_JIT, now removed in r189611. (lldb) expr (int)strlen("hello") (int) $0 = 5 Although the test infrastructure has been modified and the test now reports "This test is only for LLDB.framework built 64-bit and !lldb.test_remote"
Fixed by r189611