mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
5e640f3b2f
Remarks are usually emitted per-TU, and for generating a standalone remark file that can be shipped with the linked binary we need some kind of tool to merge everything together. The remarks::RemarkLinker class takes care of this and: * Deduplicates remarks * Filters remarks with no debug location * Merges string tables from all the entries As an output, it provides an iterator range that can be used to serialize the remarks to a file. Differential Revision: https://reviews.llvm.org/D69141
17 lines
339 B
CMake
17 lines
339 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BitReader
|
|
Remarks
|
|
Support
|
|
)
|
|
|
|
add_llvm_unittest(RemarksTests
|
|
BitstreamRemarksFormatTest.cpp
|
|
BitstreamRemarksParsingTest.cpp
|
|
BitstreamRemarksSerializerTest.cpp
|
|
RemarksAPITest.cpp
|
|
RemarksLinkingTest.cpp
|
|
RemarksStrTabParsingTest.cpp
|
|
YAMLRemarksParsingTest.cpp
|
|
YAMLRemarksSerializerTest.cpp
|
|
)
|