[lldb] Running check-lldb from the android tree fails
ninja check-lldb from the stage2 directory created by
toolchain-src/toolchain/llvm_android/build.py, we get several failures. I've skimmed through some of these:
This has some python2 issues that are easy to fix (fix committed)
This also has some python2 issues, but fixing them is not enough to make the test pass (there's something else going on there that I have yet to investigate)
lldb doesn't manage to get the name of the function that calls abort, although the debug info seems to be there; needs more serious digging
These tests don't use the python passed in PYTHON_EXECUTABLE for stage2 and instead try to use the system python; there's a patch that may be related in the android tree: toolchain-src/toolchain/llvm_android/patches/cherry/3ec3f62fv2.patch. It's worth trying to apply that in build.py.
This was fixed upstream by commit 18d4069503e (2020.08 - should probably be part of the next merge from upstream?)
This has a double free in it which seems to be caused by the address to a static local variable being passed into a shared_ptr; this is easily fixed by changing the static local variable to live on the heap, which removes the double free but causes us to run into a call to a pure virtual later in the test; I'm still investigating why this is happening
This was fixed by enabling IPv6 support in the docker container that was running the tests.
Not investigated yet