[all-commits] [llvm/llvm-project] 2a27a9: [mlir][AsmPrinter] Properly escape strings when pr...

River Riddle via All-commits all-commits at lists.llvm.org
Fri Jan 15 17:19:59 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a27a9819a1e3371e3e08d7fbad6235cf50d336d
      https://github.com/llvm/llvm-project/commit/2a27a9819a1e3371e3e08d7fbad6235cf50d336d
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/test/IR/locations.mlir

  Log Message:
  -----------
  [mlir][AsmPrinter] Properly escape strings when printing locations

This fixes errors when location strings contains newlines, or other non-ascii characters.

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




More information about the All-commits mailing list