docker: Bump default LLVM used for tests to 11
authorDave Marchevsky <davemarchevsky@fb.com>
Mon, 20 Dec 2021 22:47:11 +0000 (17:47 -0500)
committeryonghong-song <ys114321@gmail.com>
Tue, 21 Dec 2021 00:47:01 +0000 (16:47 -0800)
commitc238bc2b08ca435ccb1ddef788c65c2286d07570
tree61c82352919f217f3e2d5a8724a4ac5fa10bc1ab
parenta86a02f5c1d39c44b071c8ba9891864bfe37f86c
docker: Bump default LLVM used for tests to 11

This is another prep commit for running docker tests on both 18.04 and
20.04 versions of ubuntu. 20.04 doesn't have some LLVM 8 libs that the
docker build expects, so bump to 11.

Bumping to 11 causes test_disassembler to fail because it expects a map
w/ a certain format with FD 3, and the LLVM bump causes the map to be
FD 4. The purpose of the test is to ensure that the format of the
diassembled map is correct, not that it has a specific FD, so make some
small changes to the test so that it doesn't care what the FD number is.
Dockerfile.tests
tests/python/test_disassembler.py