Search code examples
llvmllvm-cov

How is llvm-cov installed on Ubuntu 18.04?


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?


Solution

  • 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.