[Ada] Note that -gnatd_t is used in CCG
authorRichard Kenner <kenner@adacore.com>
Tue, 14 Sep 2021 12:28:09 +0000 (08:28 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Oct 2021 08:20:02 +0000 (08:20 +0000)
gcc/ada/

* debug.adb: Add documentation for -gnatd_t.

gcc/ada/debug.adb

index 7b2b147..8873000 100644 (file)
@@ -158,7 +158,7 @@ package body Debug is
    --  d_q
    --  d_r
    --  d_s  Stop elaboration checks on synchronous suspension
-   --  d_t
+   --  d_t  In LLVM-based CCG, dump LLVM IR after transformations are done
    --  d_u
    --  d_v  Enable additional checks and debug printouts in Atree
    --  d_w
@@ -997,6 +997,10 @@ package body Debug is
    --       a call to routine Ada.Synchronous_Task_Control.Suspend_Until_True
    --       or Ada.Synchronous_Barriers.Wait_For_Release.
 
+   --  d_t  In the LLVM-based CCG, do an additional dump of the LLVM IR
+   --       after the pass that does transformations to the IR into a
+   --       filename ending with .trans.ll.
+
    --  d_v  Enable additional checks and debug printouts in Atree
 
    --  d_x  The compiler does not expand in line the Image attribute for user-