[all-commits] [llvm/llvm-project] a6d76c: Change the error message when `-split-input-file` ...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Sat Feb 27 10:32:55 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6d76cf6101d0479af2d9c9266427c0ea51e3889
https://github.com/llvm/llvm-project/commit/a6d76cf6101d0479af2d9c9266427c0ea51e3889
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2021-02-27 (Sat, 27 Feb 2021)
Changed paths:
M mlir/lib/Support/ToolUtilities.cpp
Log Message:
-----------
Change the error message when `-split-input-file` is used with mlir-opt to make it recognizable by IDEs
By adding the line number of the split point immediately after the file
name (separated by `:`) this is recognized by various tool as a proper
location.
Ideally we would want to point to the line of the error, but that would
require some very invasive changes I suspect.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D93363
More information about the All-commits
mailing list