How is llvm-cov installed on Ubuntu 18.04?

3.4k Views Asked by At

I've tried installing both clang-9, clang-9-tools, llvm-9 and llvm-9-tools in order to get the program llvm-cov. None of these packages seemingly contain llvm-cov, which leaves me to wonder what package does include it.

How do I install the latest version of llvm-cov on Ubuntu 18.04?

1

There are 1 best solutions below

1
On BEST ANSWER

When installing using apt-get install llvm-9, llvm-cov will be installed with a suffix of the version number as well.

It seems the main registry of llvm installs just llvm v6.