diff options
author | Jean Perier <jperier@nvidia.com> | 2021-11-18 18:06:19 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2021-11-18 18:08:06 +0100 |
commit | 7796d81ae8204289c6ea07f19e538cf287d3213f (patch) | |
tree | d29f34ca8e1c0ab85770a8d036f8975686ec811b /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 180625fcb478877bfada337705ec4e2e1ecb8d7e (diff) | |
download | llvm-7796d81ae8204289c6ea07f19e538cf287d3213f.zip llvm-7796d81ae8204289c6ea07f19e538cf287d3213f.tar.gz llvm-7796d81ae8204289c6ea07f19e538cf287d3213f.tar.bz2 |
[flang] Skip `Fortran STOP:` before message when NO_STOP_MESSAGE is set
In 'STOP bye bye', do not print 'Fortran STOP:` before 'bye bye' when
NO_STOP_MESSAGE environment variable is set at runtime.
Also only exit with code 1 in StopStatementText if this is an ERROR STOP.
This matches other compiler behaviors.
Move STOP related unit tests in their own test file and add new tests to
cover this change.
Differential Revision: https://reviews.llvm.org/D114152
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions