Lines Matching +full:docs +full:- +full:flang +full:- +full:html
8 in MLIR by way of MLIR attributes. Flang can leverage these MLIR attributes to
16 availability of the Classic Flang compiler.
19 By default, Flang will not generate any debug or linetable information.
22 -gline-tables-only, -g1 : Emit debug line number tables only
23 -g : Emit full debug info
32 - Details of the compiler (name and version and git hash).
33 - Language Standard. We can set it to Fortran95 for now and periodically
35 - Optimisation Level.
36 - Type of debug generated (linetable/full debug).
37 - Calling Convention: `DW_CC_normal` by default and `DW_CC_program` if it is
47 types. Flang will generate debug metadata in the form of MLIR attributes. These
322 This is currently unsupported in flang. Its representation will be similar to
335 variables show up as arrays. The behavior is same in gfortran and classic flang.
423 - LLVM LIT tests will be added to test:
424 - the driver and ensure that it passes the line table and full debug
426 - that the pass works as expected and generates debug info. Test will be
427 with `fir-opt`.
428 - with `flang -fc1` that end-to-end debug info generation works.
429 - Manual external tests will be written to ensure that the following works
431 - Break at lines.
432 - Break at functions.
433 - print type (ptype) of function names.
434 - print values and types (ptype) of various type of variables
435 - Manually run `GDB`'s gdb.fortran testsuite with llvm-flang.
438 - [1] https://dwarfstd.org/doc/DWARF5.pdf
439 - [2] https://llvm.org/docs/LangRef.html#metadata
440 - [3] https://archive.fosdem.org/2022/schedule/event/llvm_fortran_debug/
441 - [4] https://github.com/llvm/llvm-project/blob/main/mlir/lib/Target/LLVMIR/DebugTranslation.cpp
442 - [5] https://github.com/llvm/llvm-project/pull/84202