[all-commits] [llvm/llvm-project] aee622: [mlir] Enable passing crash reproducer stream fact...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu Jan 21 20:18:59 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aee622fa200de9ad28334cf74416f2fd5391e2ee
      https://github.com/llvm/llvm-project/commit/aee622fa200de9ad28334cf74416f2fd5391e2ee
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2021-01-21 (Thu, 21 Jan 2021)

  Changed paths:
    M llvm/include/llvm/Support/ToolOutputFile.h
    M mlir/docs/PassManagement.md
    M mlir/include/mlir/Pass/PassManager.h
    M mlir/lib/Pass/Pass.cpp

  Log Message:
  -----------
  [mlir] Enable passing crash reproducer stream factory method

Add factory to create streams for logging the reproducer. Allows for more general logging (beyond file) and logging the configuration/module separately (logged in order, configuration before module).

Also enable querying filename of ToolOutputFile.

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




More information about the All-commits mailing list