[PATCH] D62632: [Remarks][NFC] Move the serialization to lib/Remarks

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 15:28:08 PDT 2019


thegameg created this revision.
thegameg added reviewers: paquette, anemet, JDevlieghere, hfinkel, fhahn, andrew.w.kaylor.
Herald added subscribers: dang, dexonsmith, steven_wu, hiraditya, mgorny, mehdi_amini.
Herald added a project: LLVM.

Separate the remark serialization to YAML from the LLVM Diagnostics.

This adds a new serialization abstraction: remarks::Serializer. It's completely independent from lib/IR and it provides an easy way to replace YAML by providing a new remarks::Serializer.


https://reviews.llvm.org/D62632

Files:
  clang/lib/CodeGen/CodeGenAction.cpp
  llvm/include/llvm/IR/DiagnosticInfo.h
  llvm/include/llvm/IR/RemarkStreamer.h
  llvm/include/llvm/Remarks/RemarkSerializer.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/IR/DiagnosticInfo.cpp
  llvm/lib/IR/RemarkStreamer.cpp
  llvm/lib/LTO/LTO.cpp
  llvm/lib/Remarks/CMakeLists.txt
  llvm/lib/Remarks/YAMLRemarkSerializer.cpp
  llvm/tools/llc/llc.cpp
  llvm/tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62632.202069.patch
Type: text/x-patch
Size: 27939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190529/e1555757/attachment.bin>


More information about the llvm-commits mailing list