aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2021-11-16 14:52:35 +0100
committerJean Perier <jperier@nvidia.com>2021-11-16 14:53:39 +0100
commit2e65c8e8db1887a39c9140b75a9f5bb892ddd93f (patch)
treebf5e07945fa8639ffcf2076b4bd79899671e3524 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent422cf2b506c1240def78b9a5e5b7f32abbcff243 (diff)
downloadllvm-2e65c8e8db1887a39c9140b75a9f5bb892ddd93f.zip
llvm-2e65c8e8db1887a39c9140b75a9f5bb892ddd93f.tar.gz
llvm-2e65c8e8db1887a39c9140b75a9f5bb892ddd93f.tar.bz2
[flang] Allow write after non advancing read in IO runtime
1. To avoid overwriting the part of the record read in the non advancing read, the furtherPositionInRecord field must be set to the max of the furtherPositionInRecord and the positionInRecord at the beginning of the IO write. 2. To allow any further read to succeed after the write, the unit beganReadingRecord_ must be set to false when resetting the recordLength during the write, otherwise, recordLength will not be computed in further read and an assert is hit (at unit.cpp(398)). The added unit test exercises both of these scenarios. Differential Revision: https://reviews.llvm.org/D113740
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions