aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2021-11-24 16:05:37 -0800
committerPeter Klausler <pklausler@nvidia.com>2021-11-30 13:51:48 -0800
commit80cdf0db67e2c0f231f4fefc2b873690b44f84cc (patch)
treea692afeba406928a546eee94ace682c4a71f518c /lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
parent0e85232fa39dbe54b13b40320460dd4f945b29fd (diff)
downloadllvm-80cdf0db67e2c0f231f4fefc2b873690b44f84cc.zip
llvm-80cdf0db67e2c0f231f4fefc2b873690b44f84cc.tar.gz
llvm-80cdf0db67e2c0f231f4fefc2b873690b44f84cc.tar.bz2
[flang] Correct INQUIRE(POSITION= & PAD=)
INQUIRE(POSITION=)'s results need to reflect the POSITION= specifier used for the OPEN statement until the unit has been repositioned. Preserve the POSITION= from OPEN and used it for INQUIRE(POSITION=) until is becomes obsolete. INQUIRE(PAD=) is implemented here in the case of an unconnected unit with Fortran 2018 semantics; i.e., "UNDEFINED", rather than Fortran 90's "YES"/"NO" (see 4.3.6 para 2). Apparent failures with F'90-only tests will persist with INQUIRE(PAD=); these discrepancies don't seem to warrant an option or environment variable. To make the implementation of INQUIRE more closely match the language in the standard, rename IsOpen() to IsConnected(), and use it explicitly for the various INQUIRE specifiers. Differential Revision: https://reviews.llvm.org/D114755
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp')
0 files changed, 0 insertions, 0 deletions