[all-commits] [llvm/llvm-project] e3550f: [flang] Improve runtime crash messages
Pete Steinfeld via All-commits
all-commits at lists.llvm.org
Sat Mar 12 16:04:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3550f1903d21d0355a37dc481b94e073609a5b3
https://github.com/llvm/llvm-project/commit/e3550f1903d21d0355a37dc481b94e073609a5b3
Author: Peter Steinfeld <psteinfeld at nvidia.com>
Date: 2022-03-12 (Sat, 12 Mar 2022)
Changed paths:
M flang/runtime/descriptor-io.h
M flang/runtime/extrema.cpp
M flang/runtime/findloc.cpp
M flang/runtime/inquiry.cpp
M flang/runtime/io-api.cpp
M flang/runtime/io-stmt.cpp
M flang/runtime/iostat.cpp
M flang/runtime/random.cpp
M flang/runtime/reduction-templates.h
M flang/runtime/reduction.cpp
M flang/runtime/transformational.cpp
M flang/runtime/unit.cpp
Log Message:
-----------
[flang] Improve runtime crash messages
Where possible, I added additional information to the messages to help
programmers figure out what went wrong. I also removed all uses of the word
"bad" from the messages since (to me) that implies a moral judgement rather
than a programming error. I replaced it with either "invalid" or "unsupported"
where appropriate.
Differential Revision: https://reviews.llvm.org/D121493
More information about the All-commits
mailing list