[clang] [Clang] - Add libclangSerialization to clang driver unittests (PR #109329)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 19 13:20:27 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang

@llvm/pr-subscribers-clang-driver

Author: Pranav Bhandarkar (bhandarkar-pranav)

<details>
<summary>Changes</summary>

This PR is a fix for issue [#<!-- -->109328](https://github.com/llvm/llvm-project/issues/109328). libclangSerializaton.so is needed for building clang driver unittests after
https://github.com/llvm/llvm-project/pull/76838 was merged.

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


1 Files Affected:

- (modified) clang/unittests/Driver/CMakeLists.txt (+1) 


``````````diff
diff --git a/clang/unittests/Driver/CMakeLists.txt b/clang/unittests/Driver/CMakeLists.txt
index 752037f78fb147..efdd07ea238890 100644
--- a/clang/unittests/Driver/CMakeLists.txt
+++ b/clang/unittests/Driver/CMakeLists.txt
@@ -22,4 +22,5 @@ clang_target_link_libraries(ClangDriverTests
   clangDriver
   clangBasic
   clangFrontend # For TextDiagnosticPrinter.
+  clangSerialization
   )

``````````

</details>


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


More information about the cfe-commits mailing list