[all-commits] [llvm/llvm-project] 7531a5: [Remarks] Extend the RemarkStreamer to support oth...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Tue Feb 4 17:19:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7531a5039fd7ee9b48eb8a0d0770e8dfb9fa8bdf
      https://github.com/llvm/llvm-project/commit/7531a5039fd7ee9b48eb8a0d0770e8dfb9fa8bdf
  Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M clang/lib/CodeGen/CodeGenAction.cpp
    M llvm/docs/Remarks.rst
    M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
    M llvm/include/llvm/IR/LLVMContext.h
    A llvm/include/llvm/IR/LLVMRemarkStreamer.h
    R llvm/include/llvm/IR/RemarkStreamer.h
    M llvm/include/llvm/LTO/LTO.h
    A llvm/include/llvm/Remarks/RemarkStreamer.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/IR/CMakeLists.txt
    M llvm/lib/IR/LLVMContext.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    A llvm/lib/IR/LLVMRemarkStreamer.cpp
    R llvm/lib/IR/RemarkStreamer.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/LTO/LTOCodeGenerator.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Remarks/CMakeLists.txt
    A llvm/lib/Remarks/RemarkStreamer.cpp
    M llvm/tools/llc/llc.cpp
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  [Remarks] Extend the RemarkStreamer to support other emitters

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.

Differential Revision: https://reviews.llvm.org/D73676




More information about the All-commits mailing list