• [GSoC 2026] Add Fortran Debugging Support in LLDB Description: Fortran remains widely used in HPC, scientific computing, and numerical simulation. • However, LLDB currently provides no meaningful variable inspection support for Fortran programs, resulting in errors such as: error: Could not find type system for language fortran95: TypeSystem for language fortran95 doesn’t exist Currently, LLDB lacks a Fortran type system. • While breakpoints, stepping, and backtraces work using DWARF line tables, variable inspection and expression evaluation fail due to the absence of a Fortran TypeSystem, DWARFASTParser, ExpressionParser and language integration layer. • This project aims to add native Fortran debugging support to LLDB by consuming existing DWARF debug information generated by gfortran. • The project will focus exclusively on LLDB-side infrastructure and will reuse DWARF emitted by gfortran. • No modifications to LLVM IR, DIBuilder, DWARF emission or LLVM Flang are planned.

Article Summaries:

  • Shivam 1 Description: Fortran remains widely used in HPC, scientific computing, and numerical simulation. However, LLDB currently provides no meaningful variable inspection support for Fortran programs, resulting in errors such as: error: Could not find type system for language fortran95: TypeSystem for language fortran95 doesn’t exist Currently, LLDB lacks a Fortran type system. While breakpoints, stepping, and backtraces work using DWARF line tables, variable inspection and expression evaluation fail due to the absence of a Fortran TypeSystem, DWARFASTParser, ExpressionParser and language in

Sources: