llvm-project/clang/unittests/CodeGen
Fangrui Song 5313327f61 Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build
This is a more thorough fix of rC348911.
The story about -DBUILD_SHARED_LIBS=on build after rC348907 (Move PCHContainerOperations from Frontend to Serialization) is:

1. libclangSerialization.so defines PCHContainerReader dtor, ...
2. clangFrontend and clangTooling define classes inheriting from PCHContainerReader, thus their DSOs have undefined references on PCHContainerReader dtor
3. Components depending on either clangFrontend or clangTooling cannot be linked unless they have explicit dependency on clangSerialization due to the default linker option -z defs. The explicit dependency could be avoided if libclang{Frontend,Tooling}.so had these undefined references.

This patch adds the explicit dependency on clangSerialization to make them build.

llvm-svn: 348915
2018-12-12 08:02:18 +00:00
..
BufferSourceTest.cpp
CMakeLists.txt Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
CodeGenExternalTest.cpp Include getting generated struct offsets in CodegenABITypes 2017-10-10 23:54:21 +00:00
IRMatchers.h Unit tests for TBAA metadata generation. 2017-12-22 15:22:45 +00:00
IncrementalProcessingTest.cpp
TBAAMetadataTest.cpp Unit tests for TBAA metadata generation. 2017-12-22 15:22:45 +00:00