From 27e73816d6f9a7e627db73c445c4329db2ecfeaf Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 18 Nov 2020 11:42:46 -0500 Subject: [PATCH] lld: Make tests depend on llvm-symbolizer after bc98034040 Fixes test failures when building just `check-lld` in a clean build dir. --- lld/test/CMakeLists.txt | 4 ++-- llvm/utils/gn/secondary/lld/test/BUILD.gn | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lld/test/CMakeLists.txt b/lld/test/CMakeLists.txt index 6875a54df99c..ce0bcaa9203d 100644 --- a/lld/test/CMakeLists.txt +++ b/lld/test/CMakeLists.txt @@ -28,8 +28,8 @@ if (NOT LLD_BUILT_STANDALONE) list(APPEND LLD_TEST_DEPS FileCheck count llc llvm-ar llvm-as llvm-bcanalyzer llvm-config llvm-cvtres llvm-dis llvm-dwarfdump llvm-lib llvm-lipo llvm-mc llvm-nm llvm-objcopy - llvm-objdump llvm-pdbutil llvm-readelf llvm-readobj llvm-strip not obj2yaml - opt split-file yaml2obj + llvm-objdump llvm-pdbutil llvm-readelf llvm-readobj llvm-strip + llvm-symbolizer not obj2yaml opt split-file yaml2obj ) endif() diff --git a/llvm/utils/gn/secondary/lld/test/BUILD.gn b/llvm/utils/gn/secondary/lld/test/BUILD.gn index 4e075bbf6104..bf2f440e7ca8 100644 --- a/llvm/utils/gn/secondary/lld/test/BUILD.gn +++ b/llvm/utils/gn/secondary/lld/test/BUILD.gn @@ -93,6 +93,7 @@ group("test") { "//llvm/tools/llvm-objdump:symlinks", "//llvm/tools/llvm-pdbutil", "//llvm/tools/llvm-readobj:symlinks", + "//llvm/tools/llvm-symbolizer:symlinks", "//llvm/tools/obj2yaml", "//llvm/tools/opt", "//llvm/tools/split-file",