1. [Remarks] Add support for linking remarks (details)
Commit e72e59e90287c50539cb2c0afbf197aa0101a023 by francisvm
[Remarks] Add support for linking remarks
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:
The file was modifiedllvm/include/llvm/Remarks/Remark.h
The file was addedllvm/include/llvm/Remarks/RemarkLinker.h
The file was addedllvm/lib/Remarks/RemarkLinker.cpp
The file was modifiedllvm/lib/Remarks/CMakeLists.txt
The file was modifiedllvm/lib/Remarks/RemarkFormat.cpp
The file was modifiedllvm/unittests/Remarks/CMakeLists.txt
The file was modifiedllvm/include/llvm/Remarks/RemarkFormat.h
The file was addedllvm/unittests/Remarks/RemarksLinkingTest.cpp