[PATCH] D58996: [Remarks] Refactor remark diagnostic emission in a RemarkStreamer

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 13:45:18 PST 2019


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

This allows us to store more info about where we're emitting the remarks without cluttering LLVMContext.


https://reviews.llvm.org/D58996

Files:
  clang/lib/CodeGen/CodeGenAction.cpp
  llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
  llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
  llvm/include/llvm/IR/LLVMContext.h
  llvm/include/llvm/IR/RemarkStreamer.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/IR/CMakeLists.txt
  llvm/lib/IR/DiagnosticInfo.cpp
  llvm/lib/IR/LLVMContext.cpp
  llvm/lib/IR/LLVMContextImpl.h
  llvm/lib/IR/RemarkStreamer.cpp
  llvm/lib/LTO/LTO.cpp
  llvm/tools/llc/llc.cpp
  llvm/tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58996.189396.patch
Type: text/x-patch
Size: 13364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190305/0f4bbe29/attachment.bin>


More information about the llvm-commits mailing list