[llvm] [HLSL] Add missing dependency to Frontend unittest (PR #161738)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 14:26:00 PDT 2025


https://github.com/joaosaffran created https://github.com/llvm/llvm-project/pull/161738

Recently, a bot fails on `DefinedStaticSamplerDump` unittest. After some debugging, we come to the conclusion that the issue might because due to a missing dependency when compiling. This adds that dependency that was idenfied missing 

>From 293e3ea3fa87967c332cd75d8b7ae54e2809e60e Mon Sep 17 00:00:00 2001
From: Joao Saffran <joaosaffranllvm at gmail.com>
Date: Thu, 2 Oct 2025 14:03:03 -0700
Subject: [PATCH] adding dependency that we might miss

---
 llvm/unittests/Frontend/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/unittests/Frontend/CMakeLists.txt b/llvm/unittests/Frontend/CMakeLists.txt
index 836a844b710db..1ce34e77cb348 100644
--- a/llvm/unittests/Frontend/CMakeLists.txt
+++ b/llvm/unittests/Frontend/CMakeLists.txt
@@ -1,5 +1,6 @@
 set(LLVM_LINK_COMPONENTS
   Analysis
+  BinaryFormat
   Core
   FrontendHLSL
   FrontendOffloading



More information about the llvm-commits mailing list