Enhanced debuggability support in LLVM for various Fortran language features
summary
Describes enhancements made in LLVM to emit richer DWARF debug information so GDB/LLDB can correctly debug Fortran-specific features such as dynamic arrays (adjustable, assumed-shape/size/rank, allocatable, pointer), Fortran strings, modules, namelists and signed constants. Lists specific DWARF operators, attributes and tags added or improved (e.g. DW_OP_push_object_address, DW_OP_over, DW_AT_data_location, DW_AT_allocated, DW_AT_associated, DW_AT_rank, DWO_TAG_generic_subrange and improved DISubrange handling) and notes complementary GDB/LLDB changes; claims clang/flang debug output now matches or exceeds gfortran in these areas.
AI-written summary · about
related talks
18mRobustifying Debug Information Updates in LLVM via Control-Flow Conformance Analysis
25mSource-level debugging of compiler-optimised code: ill-posed, but not impossible
19mImprovement and enhancement of LLVM for HPC
01h 01m“How C++ Debuggers Work”
53mFrom Within: Compiler Testing and Validation via Compilers
43mToolchains for the Future
18mExciting new compiler flags for kernel security
24mGenerating BPF Verifier Friendly Code with Clang