-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[flang][debug] Scope of the contained subroutine is not correct. #96314
Comments
@llvm/issue-subscribers-flang-ir Author: Abid Qadeer (abidh)
If the following program is compiled with flang, the scope of `sub1` is not the parent function that contains it. As a result, when control is stopped in `sub1`, debugger fails to evaluate the variable in parent function (e.g.`i`) .
with gfortran
With flang
|
@llvm/issue-subscribers-bug Author: Abid Qadeer (abidh)
If the following program is compiled with flang, the scope of `sub1` is not the parent function that contains it. As a result, when control is stopped in `sub1`, debugger fails to evaluate the variable in parent function (e.g.`i`) .
with gfortran
With flang
|
abidh
added a commit
to abidh/llvm-project
that referenced
this issue
Jul 18, 2024
The functions internal to subroutine should have the scope set to the parent function. This allows to evaluate variable in parent when control is stopped in the child. Fixes llvm#96314
abidh
added a commit
to abidh/llvm-project
that referenced
this issue
Jul 24, 2024
The functions internal to subroutine should have the scope set to the parent function. This allows to evaluate variable in parent when control is stopped in the child. Fixes llvm#96314
abidh
added a commit
that referenced
this issue
Jul 25, 2024
The functions internal to subroutine should have the scope set to the parent function. This allows a user to evaluate local variables of parent function when control is stopped in the child. Fixes #96314
yuxuanchen1997
pushed a commit
that referenced
this issue
Jul 25, 2024
Summary: The functions internal to subroutine should have the scope set to the parent function. This allows a user to evaluate local variables of parent function when control is stopped in the child. Fixes #96314 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250527
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Jul 26, 2024
Summary: The functions internal to subroutine should have the scope set to the parent function. This allows a user to evaluate local variables of parent function when control is stopped in the child. Fixes llvm#96314 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250527 (cherry picked from commit 626022b)
tru
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Jul 26, 2024
Summary: The functions internal to subroutine should have the scope set to the parent function. This allows a user to evaluate local variables of parent function when control is stopped in the child. Fixes llvm#96314 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250527 (cherry picked from commit 626022b)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the following program is compiled with flang, the scope of
sub1
is not the parent function that contains it. As a result, when control is stopped insub1
, debugger fails to evaluate the variable in parent function (e.g.i
) .with gfortran
With flang
The text was updated successfully, but these errors were encountered: