[cmake] Add llvm-locstats to LLVM_TEST_DEPENDS
authorDavid Stenberg <david.stenberg@ericsson.com>
Wed, 18 Dec 2019 08:54:21 +0000 (09:54 +0100)
committerDavid Stenberg <david.stenberg@ericsson.com>
Wed, 18 Dec 2019 08:54:21 +0000 (09:54 +0100)
Summary:
Make sure that llvm-locstats is updated before running lit tests even
when it's not an explicit target.

Reviewers: djtodoro, krisb, spatel

Reviewed By: djtodoro

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71611

llvm/test/CMakeLists.txt

index 7be0cb2..6a11dcb 100644 (file)
@@ -75,6 +75,7 @@ set(LLVM_TEST_DEPENDS
           llvm-lib
           llvm-link
           llvm-lipo
+          llvm-locstats
           llvm-lto2
           llvm-mc
           llvm-mca