aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2024-02-01 17:43:43 +0100
committerGitHub <noreply@github.com>2024-02-01 17:43:43 +0100
commit09b4649ea5cefc4f93d9c936d38863df5c6568ed (patch)
tree6afd9476ad4a969fd7412a339909444a9cb5f97c /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
parent4eb0810922a8d6ad9a32fbf09326166317dc5c08 (diff)
downloadllvm-09b4649ea5cefc4f93d9c936d38863df5c6568ed.zip
llvm-09b4649ea5cefc4f93d9c936d38863df5c6568ed.tar.gz
llvm-09b4649ea5cefc4f93d9c936d38863df5c6568ed.tar.bz2
[flang] Fix passing NULL to OPTIONAL procedure pointers (#80267)
Procedure pointer lowering used `prepareUserCallActualArgument` because it was convenient, but this helper was not meant for POINTERs when originally written and it did not handled passing NULL to an OPTIONAL procedure pointer correctly. The resulting argument should be a disassociated pointer, not an absent pointer (Fortran 15.5.2.12 point 1.). Move the logic for procedure pointer argument "cooking" in its own helper to avoid triggering the logic that created an absent argument in this case.
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
0 files changed, 0 insertions, 0 deletions