From e5032d89e44a7fa5f2cc06925be28e87e3bdb9f0 Mon Sep 17 00:00:00 2001 From: John McIver Date: Sun, 23 Oct 2022 09:53:17 +0000 Subject: [PATCH] [clang][unittest] Resolve ClangSupportTest link time errors Resolves undefined references to vtable for clang::ASTConsumer, PCHContainerOperations::PCHContainerOperations(), and CodeGenOptions::CodeGenOptions(). Reviewed By: Izaron Differential Revision: https://reviews.llvm.org/D136546 --- clang/unittests/Support/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/unittests/Support/CMakeLists.txt b/clang/unittests/Support/CMakeLists.txt index 956b3a7..22be5ed 100644 --- a/clang/unittests/Support/CMakeLists.txt +++ b/clang/unittests/Support/CMakeLists.txt @@ -8,5 +8,8 @@ add_clang_unittest(ClangSupportTests clang_target_link_libraries(ClangSupportTests PRIVATE + clangAST + clangBasic clangFrontend + clangSerialization ) -- 2.7.4