aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2023-09-14 07:58:26 -0700
committerGitHub <noreply@github.com>2023-09-14 07:58:26 -0700
commitb7d02d7e12f96c9c9a735a0255c2b5600fc16067 (patch)
treef0bd5030d46fe301f1a4f6a0569ca6d289f1d0f5 /clang/lib/Frontend/CompilerInvocation.cpp
parent8730fe95d88009aad43df43006a7e19003fd021c (diff)
downloadllvm-b7d02d7e12f96c9c9a735a0255c2b5600fc16067.zip
llvm-b7d02d7e12f96c9c9a735a0255c2b5600fc16067.tar.gz
llvm-b7d02d7e12f96c9c9a735a0255c2b5600fc16067.tar.bz2
[flang] Select proper library APIs for derived type io. (#66327)
This patch syncs the logic inside `getInputFunc` that selects the library API and the logic in `createIoRuntimeCallForItem` that creates the input arguments for the library call. There were cases where we selected `InputDerivedType` API and passed only two arguments, and also we selected `InputDescriptor` and passed three arguments. It turns out we also were incorrectly selecting `OutputDescriptor` in `getOutputFunc` (`test4` case in the new LIT test), which caused runtime issues for output of a derived type with descriptor components (due to the missing non-type-bound table).
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions