This extends the RemarkStreamer to allow for other emitters (e.g. frontends, SIL, etc.) to emit remarks through a common interface.
See changes in llvm/docs/Remarks.rst for motivation and design choices.
Paths
| Differential D73676
[Remarks] Extend the RemarkStreamer to support other emitters ClosedPublic Authored by thegameg on Jan 29 2020, 5:14 PM.
Details Summary This extends the RemarkStreamer to allow for other emitters (e.g. frontends, SIL, etc.) to emit remarks through a common interface. See changes in llvm/docs/Remarks.rst for motivation and design choices.
Diff Detail
Event TimelineHerald added subscribers: dang, dexonsmith, steven_wu and 3 others. · View Herald TranscriptJan 29 2020, 5:14 PM Comment Actions LGTM with some nits inline.
This revision is now accepted and ready to land.Feb 4 2020, 3:57 PM Closed by commit rG7531a5039fd7: [Remarks] Extend the RemarkStreamer to support other emitters (authored by thegameg). · Explain WhyFeb 4 2020, 5:26 PM This revision was automatically updated to reflect the committed changes. thegameg marked 2 inline comments as done.
Revision Contents
Diff 242475 clang/lib/CodeGen/CodeGenAction.cpp
llvm/docs/Remarks.rst
llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
llvm/include/llvm/IR/LLVMContext.h
llvm/include/llvm/IR/LLVMRemarkStreamer.h
llvm/include/llvm/IR/RemarkStreamer.h
llvm/include/llvm/LTO/LTO.h
llvm/include/llvm/Remarks/RemarkStreamer.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/IR/CMakeLists.txt
llvm/lib/IR/LLVMContext.cpp
llvm/lib/IR/LLVMContextImpl.h
llvm/lib/IR/LLVMRemarkStreamer.cpp
llvm/lib/LTO/LTO.cpp
llvm/lib/LTO/LTOBackend.cpp
llvm/lib/LTO/LTOCodeGenerator.cpp
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/lib/Remarks/CMakeLists.txt
llvm/lib/Remarks/RemarkStreamer.cpp
llvm/tools/llc/llc.cpp
llvm/tools/opt/opt.cpp
|
This sentence is pretty long and complex. Maybe add a full stop instead of the comma and start a new sentence.