llvm-project/llvm/lib/Remarks
Francis Visoiu Mistrih e72e59e902 [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: https://reviews.llvm.org/D69141
2019-10-31 15:26:55 -07:00
..
BitstreamRemarkParser.cpp [Remarks] Add support for prepending a path to external files 2019-10-16 15:40:59 +00:00
BitstreamRemarkParser.h [Remarks] Add support for prepending a path to external files 2019-10-16 15:40:59 +00:00
BitstreamRemarkSerializer.cpp [Remarks] Allow remarks::Format::YAML to take a string table 2019-09-16 22:45:17 +00:00
CMakeLists.txt [Remarks] Add support for linking remarks 2019-10-31 15:26:55 -07:00
LLVMBuild.txt [Remarks] Add parser for bitstream remarks 2019-09-09 17:43:50 +00:00
Remark.cpp [Remarks] Simplify and refactor the RemarkParser interface 2019-07-16 15:25:05 +00:00
RemarkFormat.cpp [Remarks] Add support for linking remarks 2019-10-31 15:26:55 -07:00
RemarkLinker.cpp [Remarks] Add support for linking remarks 2019-10-31 15:26:55 -07:00
RemarkParser.cpp [Remarks] Add support for prepending a path to external files 2019-10-16 15:40:59 +00:00
RemarkSerializer.cpp [Remarks] Allow remarks::Format::YAML to take a string table 2019-09-16 22:45:17 +00:00
RemarkStringTable.cpp [Remarks] Allow remarks::Format::YAML to take a string table 2019-09-16 22:45:17 +00:00
YAMLRemarkParser.cpp [Remarks] Add support for prepending a path to external files 2019-10-16 15:40:59 +00:00
YAMLRemarkParser.h [Remarks] Add support for prepending a path to external files 2019-10-16 15:40:59 +00:00
YAMLRemarkSerializer.cpp [Remarks] Pass StringBlockValue as StringRef. 2019-10-07 17:05:09 +00:00