[clang] [flang] [flang][draft] Improve debug info generation. (PR #84202)

2024-05-01 Thread Abid Qadeer via cfe-commits
https://github.com/abidh closed https://github.com/llvm/llvm-project/pull/84202 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [flang][draft] Improve debug info generation. (PR #84202)

2024-03-08 Thread via cfe-commits
jeanPerier wrote: Great to see work on debug info, thanks! I am in line with @tblah that we should aim at generating it from FIR/HLFIR as much as possible. For types, as Tom mentioned, fir.type_info could be updated to be created with the type declaration location if it is not already the cas

[clang] [flang] [flang][draft] Improve debug info generation. (PR #84202)

2024-03-07 Thread via cfe-commits
abidh wrote: Thanks @kiranchandramohan and @tblah for your comments. I do plan to work on this long term to bring the full debug support to flang. I will work on creating a design document. https://github.com/llvm/llvm-project/pull/84202 ___ cfe-comm

[clang] [flang] [flang][draft] Improve debug info generation. (PR #84202)

2024-03-07 Thread Tom Eccles via cfe-commits
tblah wrote: Thank you for this patch! I like the approach so far using the existing debug pass. My gut feeling is that I would rather this happen in a pass rather than earlier on (lowering or even semantics) because lowering is already too complicated and monolithic. In the past it has prove

[clang] [flang] [flang][draft] Improve debug info generation. (PR #84202)

2024-03-06 Thread Kiran Chandramohan via cfe-commits
kiranchandramohan wrote: Thanks for this patch to improve debug support in Flang. If you are planning to work long-time on enabling full debug support then it would be good to write a design document (in flang/docs), get it agreed upon by everyone and then proceed. I attempted some time ago at

[clang] [flang] [flang][draft] Improve debug info generation. (PR #84202)

2024-03-06 Thread via cfe-commits
https://github.com/abidh created https://github.com/llvm/llvm-project/pull/84202 This PR adds initial support for generation of debug information for variables and types. The aim is that it can be the basis of discussion on the design of debug information generation. It is complete enough to al