[flang-commits] [flang] [flang][debug] set DW_AT_main_subprogram for fortran main function (PR #111350)
Abid Qadeer via flang-commits
flang-commits at lists.llvm.org
Mon Oct 7 05:25:14 PDT 2024
abidh wrote:
>
> I'm not sure how gdb found the right name before this patch. I can't see the `DW_AT_main_subprogram` attribute in `objdump -g` output before this patch and do after.
We set `DW_CC_program` as calling convention for main subprogram which could be used by the `GDB` in absence of `DW_AT_main_subprogram`.
https://github.com/llvm/llvm-project/pull/111350
More information about the flang-commits
mailing list