[CMake] Add llvm-config to DEBUGINFO_TEST_DEPS
authorFangrui Song <maskray@google.com>
Thu, 25 Jun 2020 23:49:05 +0000 (16:49 -0700)
committerFangrui Song <maskray@google.com>
Thu, 25 Jun 2020 23:49:33 +0000 (16:49 -0700)
Fix `fatal: Could not run process ['/path/to/build/./bin/llvm-config', '--build-mode']`
when running check-debuginfo in a fresh build directory.

debuginfo-tests/CMakeLists.txt

index addf13d..dcd80bd 100644 (file)
@@ -16,6 +16,7 @@ set(DEBUGINFO_TEST_DEPS
   clang
   FileCheck
   count
+  llvm-config
   llvm-objdump
   check-gdb-llvm-support
   not