diff options
| author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-03 22:40:07 +0000 |
|---|---|---|
| committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-03 22:40:07 +0000 |
| commit | e0308279cbdd18391c533d6501922429ff4ef839 (patch) | |
| tree | c2386ec9a73920d3d86f09116473884c388e7b8d /clang/unittests | |
| parent | e0afcd8d266ed4fa9d3793d0032623f0aa12b80a (diff) | |
| download | bcm5719-llvm-e0308279cbdd18391c533d6501922429ff4ef839.tar.gz bcm5719-llvm-e0308279cbdd18391c533d6501922429ff4ef839.zip | |
[Bitcode] Move Bitstream to a separate library
This moves Bitcode/Bitstream*, Bitcode/BitCodes.h to Bitstream/.
This is needed to avoid a circular dependency when using the bitstream
code for parsing optimization remarks.
Since Bitcode uses Core for the IR part:
libLLVMRemarks -> Bitcode -> Core
and Core uses libLLVMRemarks to generate remarks (see
IR/RemarkStreamer.cpp):
Core -> libLLVMRemarks
we need to separate the Bitstream and Bitcode part.
For clang-doc, it seems that it doesn't need the whole bitcode layer, so
I updated the CMake to only use the bitstream part.
Differential Revision: https://reviews.llvm.org/D63899
llvm-svn: 365091
Diffstat (limited to 'clang/unittests')
| -rw-r--r-- | clang/unittests/Serialization/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Serialization/CMakeLists.txt b/clang/unittests/Serialization/CMakeLists.txt index c7ec9a4f070..a19ef5faee5 100644 --- a/clang/unittests/Serialization/CMakeLists.txt +++ b/clang/unittests/Serialization/CMakeLists.txt @@ -1,5 +1,6 @@ set(LLVM_LINK_COMPONENTS BitReader + BitstreamReader Support ) |

