llvm-project/flang/runtime
Peixin Qiao 1f9212d8d5 [flang] Support extention intrinsic ABORT
The semantic checks and runtime have been supported. This supports the
lowering of intrinsic ABORT.

`gfortran` prints a backtrace before abort, unless `-fno-backtrace` is
given. This is good to use. The intrinsic BACKTRACE is not supported
yet, so add TODO in the runtime.

This extention is needed in SPEC2017 521.wrf_r in
https://github.com/llvm/llvm-project/issues/55955.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D130439
2022-08-02 23:02:12 +08:00
..
FortranMain [flang][Runtime] Use proper prototypes in Fortran_main. NFCI 2022-05-18 08:04:09 +00:00
CMakeLists.txt [flang][driver] Add support for generating executables 2022-04-25 12:00:23 +00:00
ISO_Fortran_binding.cpp [flang] LBOUND() edge case: empty dimension 2022-03-14 11:16:09 -07:00
allocatable.cpp
assign.cpp
buffer.cpp
buffer.h [flang][runtime] Keep frame buffer in sync with file when truncating 2022-07-13 16:12:12 -07:00
character.cpp [flang][runtime] Make NCOPIES= argument of REPEAT a signed integer, & check it 2022-06-15 14:29:17 -07:00
command.cpp [flang] Single entry point for GET_COMMAND_ARGUMENT 2022-07-27 10:27:25 +00:00
complex-reduction.c [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
complex-reduction.h
config.h.cmake
connection.cpp
connection.h [flang][runtime] Don't pad CHARACTER input at end of record unless PAD='YES' 2022-05-09 12:39:43 -07:00
copy.cpp
copy.h
derived-api.cpp
derived.cpp [flang] Fix extent computation in finalization 2022-03-09 09:01:02 -08:00
derived.h
descriptor-io.cpp
descriptor-io.h [flang][runtime] Signal END from character input 2022-06-15 14:12:38 -07:00
descriptor.cpp [flang][runtime] Ensure PointerDeallocate actually deallocate pointers 2022-03-28 10:22:08 +02:00
dot-product.cpp [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
edit-input.cpp [flang][runtime] Complete list-directed character input with DECIMAL='COMMA' 2022-07-13 16:37:44 -07:00
edit-input.h [flang] Initial UTF-8 support in runtime I/O 2022-03-22 11:48:14 -07:00
edit-output.cpp [flang][runtime] Refine list-directed REAL(2) output 2022-07-13 16:10:46 -07:00
edit-output.h [flang][runtime] Detect overflow of fixed-sized exponent output field 2022-06-13 16:10:32 -07:00
environment.cpp [flang] Initial UTF-8 support in runtime I/O 2022-03-22 11:48:14 -07:00
environment.h [flang] Initial UTF-8 support in runtime I/O 2022-03-22 11:48:14 -07:00
extensions.cpp
extrema.cpp [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
file.cpp [flang][runtime] Catch OPEN of connected file 2022-06-04 11:06:37 -07:00
file.h [flang][runtime] Catch OPEN of connected file 2022-06-04 11:06:37 -07:00
findloc.cpp [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
format-implementation.h [flang][runtime] Fix handling of output FORMAT('x' 'y') 2022-06-15 14:23:02 -07:00
format.cpp
format.h [flang][runtime] Trim FORMATs echoed to error messages 2022-07-06 18:55:03 -07:00
inquiry.cpp [flang] Improve runtime crash messages 2022-03-12 15:15:56 -08:00
internal-unit.cpp [flang][runtime] Don't crash after surviving internal output overflow 2022-06-04 08:47:13 -07:00
internal-unit.h [flang] Initial UTF-8 support in runtime I/O 2022-03-22 11:48:14 -07:00
io-api.cpp [flang][runtime] FLUSH(bad or unconnected unit number) is an error 2022-06-23 11:08:53 -07:00
io-error.cpp [flang] Error recovery improvement in runtime (IOMSG=) 2022-03-18 17:24:32 -07:00
io-error.h [flang][runtime] Clean up asynchronous I/O APIs 2022-05-24 07:54:57 -07:00
io-stmt.cpp [flang][runtime] Complete list-directed character input with DECIMAL='COMMA' 2022-07-13 16:37:44 -07:00
io-stmt.h [flang][runtime] Allow recovery from BACKSPACE(badUnit) 2022-06-15 13:00:54 -07:00
iostat.cpp [flang][runtime] FLUSH(bad or unconnected unit number) is an error 2022-06-23 11:08:53 -07:00
lock.h [flang][runtime] Remove dependency on C++ <mutex> on Windows 2022-06-10 11:25:45 +00:00
main.cpp
matmul.cpp
memory.cpp
misc-intrinsic.cpp [flang] Error detection/avoidance for TRANSFER with empty MOLD= type 2022-07-13 16:50:57 -07:00
namelist.cpp [flang] Initial UTF-8 support in runtime I/O 2022-03-22 11:48:14 -07:00
namelist.h
numeric.cpp [flang] Support intrinsic `selected_int_kind` for variables 2022-07-26 00:33:27 +08:00
pointer.cpp [flang][runtime] Make ASSOCIATED() conform with standard 2022-06-16 11:39:44 -07:00
product.cpp [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
ragged.cpp
random.cpp [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
reduction-templates.h [flang] Improve runtime crash messages 2022-03-12 15:15:56 -08:00
reduction.cpp [flang] Improve runtime crash messages 2022-03-12 15:15:56 -08:00
stat.cpp
stat.h
stop.cpp [flang] Support extention intrinsic ABORT 2022-08-02 23:02:12 +08:00
sum.cpp [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
support.cpp
terminator.cpp
terminator.h
time-intrinsic.cpp [flang][MSVC] Fix building with `/permissive-` flag 2022-05-24 23:36:04 -05:00
tools.cpp [flang] Change "bad kind" messages in the runtime to "not yet implemented" 2022-05-10 20:08:03 -07:00
tools.h [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
transformational.cpp [flang][runtime] Fix runtime CSHIFT of rank>1 array case of negative shift count 2022-06-13 11:34:25 -07:00
type-code.cpp [flang][runtime] Fix KIND=16 real/complex component I/O 2022-04-25 11:18:21 -07:00
type-info.cpp [flang] Fix character length calculation for Unicode component 2022-05-23 17:48:12 -07:00
type-info.h
unit-map.cpp [flang][runtime] Catch OPEN of connected file 2022-06-04 11:06:37 -07:00
unit-map.h [flang][runtime] Catch more (all?) negative unit number errors 2022-06-15 17:29:50 -07:00
unit.cpp [flang][runtime] Reset unit frame buffer when re-opening 2022-07-25 12:18:14 -07:00
unit.h [flang] Fix READ/WRITE with POS= on stream units, with refactoring 2022-06-23 09:16:49 -07:00
utf.cpp [flang] Initial UTF-8 support in runtime I/O 2022-03-22 11:48:14 -07:00
utf.h [flang] Initial UTF-8 support in runtime I/O 2022-03-22 11:48:14 -07:00