aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2022-09-21 18:47:41 +0200
committerValentin Clement <clementval@gmail.com>2022-09-21 18:48:09 +0200
commitf3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee (patch)
tree9d0825a1ad8979434644ddc8414059d0ff8e3446 /llvm/lib/Object/XCOFFObjectFile.cpp
parent006a752a3c033950eb16db6b63574c309fa43241 (diff)
downloadllvm-f3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee.zip
llvm-f3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee.tar.gz
llvm-f3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee.tar.bz2
[flang] Avoid deallocation of intent(out) when dummy arg is not in entry stmt
In some case, the ENTRY statement in a procedure is including some dummy argument. Until now, deallocation of intent(out) allocatable was not checking for this and it could result in a segmentation fault. This patch avoids deallocation when the value is not in the ENTRY stmt. Reviewed By: jeanPerier, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D134342
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions