[llvm] Fix linker error (PR #67696)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 08:58:04 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

<details>
<summary>Changes</summary>

Fix error when linking unittests/IR/IRTests after https://reviews.llvm.org/D152206

---
Full diff: https://github.com/llvm/llvm-project/pull/67696.diff


1 Files Affected:

- (modified) llvm/unittests/IR/CMakeLists.txt (+1) 


``````````diff
diff --git a/llvm/unittests/IR/CMakeLists.txt b/llvm/unittests/IR/CMakeLists.txt
index 176faf2f5cfa9ac..f57039493f21fdc 100644
--- a/llvm/unittests/IR/CMakeLists.txt
+++ b/llvm/unittests/IR/CMakeLists.txt
@@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
   Core
   Support
   Passes
+  TargetParser
   TransformUtils
   ScalarOpts
   )

``````````

</details>


https://github.com/llvm/llvm-project/pull/67696


More information about the llvm-commits mailing list