[all-commits] [llvm/llvm-project] f6f4c1: [flang][debug] Use PROGRAM name for main function ...

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Oct 4 02:47:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6f4c177ef03ecd027d884af2cd3caf3ccafcfd1
      https://github.com/llvm/llvm-project/commit/f6f4c177ef03ecd027d884af2cd3caf3ccafcfd1
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
    M flang/test/Integration/debug-local-var-2.f90
    M flang/test/Transforms/debug-fn-info.fir
    M flang/test/Transforms/debug-local-global-storage-1.fir
    M flang/test/Transforms/debug-local-var.fir

  Log Message:
  -----------
  [flang][debug] Use PROGRAM name for main function name (#111022)

For example, in

        PROGRAM test_program
          ...
        END PROGRAM

This allows a user to break on the main function with `break
test_program`. This matches what classic flang and gfortran do.



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