[CMake] Add llvm-profgen to LLVM_TEST_DEPENDS
authorFangrui Song <i@maskray.me>
Wed, 9 Dec 2020 17:34:51 +0000 (09:34 -0800)
committerFangrui Song <i@maskray.me>
Wed, 9 Dec 2020 17:34:51 +0000 (09:34 -0800)
Otherwise `check-llvm-*` may not rebuild llvm-profgen, causing llvm-profgen tests
to fail if llvm-profgen happens to be stale.

llvm/test/CMakeLists.txt

index 4263937..691a7e1 100644 (file)
@@ -102,6 +102,7 @@ set(LLVM_TEST_DEPENDS
           llvm-opt-report
           llvm-pdbutil
           llvm-profdata
+          llvm-profgen
           llvm-ranlib
           llvm-rc
           llvm-readobj