[all-commits] [llvm/llvm-project] 2a986c: [flang][debug] Set scope of internal functions cor...

Abid Qadeer via All-commits all-commits at lists.llvm.org
Fri Jul 26 04:52:20 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a986c55d135d1da7268c73ede08789497b7f992
      https://github.com/llvm/llvm-project/commit/2a986c55d135d1da7268c73ede08789497b7f992
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
    A flang/test/Transforms/debug-96314.fir

  Log Message:
  -----------
  [flang][debug] Set scope of internal functions correctly. (#99531)

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

(cherry picked from commit 626022bfd18f335ef62a461992a05dfed4e6d715)



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