[all-commits] [llvm/llvm-project] b6f72f: [flang][debug] Generate correct subroutine type. (...
Abid Qadeer via All-commits
all-commits at lists.llvm.org
Tue Sep 17 03:07:45 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b6f72fc1e202c749333bd5b8ecb879d661af16b6
https://github.com/llvm/llvm-project/commit/b6f72fc1e202c749333bd5b8ecb879d661af16b6
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-09-17 (Tue, 17 Sep 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
M flang/test/Transforms/debug-fn-info.fir
Log Message:
-----------
[flang][debug] Generate correct subroutine type. (#108605)
We pass a list of types when creating a subroutine type. The first one
is supposed to be return type and the rest are the argument types. A
subroutine does not have a return type so an argument type could be
confused as a return type. To fix this, if there is no return type, we
generate a null type as a place holder.
Fixes #108564.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list