]> granicus.if.org Git - llvm/commit
[Remarks] Add two serialization modes for remarks: separate and standalone
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 30 Jul 2019 16:01:40 +0000 (16:01 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 30 Jul 2019 16:01:40 +0000 (16:01 +0000)
commit5093e0a4be370b21f4a74540e8d8af73768e369f
tree497822944385ab9e8b28d13ec9d178b52a85d304
parent02182a57657c23f0df398c754f16e40acc7579af
[Remarks] Add two serialization modes for remarks: separate and standalone

The default mode is separate, where the metadata is serialized
separately from the remarks.

Another mode is the standalone mode, where the metadata is serialized
before the remarks, on the same stream.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367328 91177308-0d34-0410-b5e6-96231b3b80d8
docs/Remarks.rst
include/llvm/Remarks/RemarkSerializer.h
include/llvm/Remarks/YAMLRemarkSerializer.h
lib/IR/RemarkStreamer.cpp
lib/Remarks/RemarkSerializer.cpp
lib/Remarks/YAMLRemarkSerializer.cpp
unittests/Remarks/YAMLRemarksSerializerTest.cpp