diff options
author | Richard Kenner <kenner@adacore.com> | 2021-12-21 16:47:45 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-01-11 13:24:44 +0000 |
commit | c60845f0ac379b0e0650ee66cbd1c17417842772 (patch) | |
tree | fd749fa7baabfebfd8588703c995318874a86246 | |
parent | 4180f273c59cf9d01b675830bce1fe6825b1008c (diff) | |
download | gcc-c60845f0ac379b0e0650ee66cbd1c17417842772.zip gcc-c60845f0ac379b0e0650ee66cbd1c17417842772.tar.gz gcc-c60845f0ac379b0e0650ee66cbd1c17417842772.tar.bz2 |
[Ada] Document LLVM-specific flags
gcc/ada/
* debug.adb: Add documentation for new -gnatd_u and old -gnatd_R
flags used for GNAT LLVM and its CCG.
-rw-r--r-- | gcc/ada/debug.adb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb index 8873000..8a0ba021 100644 --- a/gcc/ada/debug.adb +++ b/gcc/ada/debug.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2022, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -159,7 +159,7 @@ package body Debug is -- d_r -- d_s Stop elaboration checks on synchronous suspension -- d_t In LLVM-based CCG, dump LLVM IR after transformations are done - -- d_u + -- d_u In LLVM-based CCG, dump flows -- d_v Enable additional checks and debug printouts in Atree -- d_w -- d_x Disable inline expansion of Image attribute for enumeration types @@ -183,7 +183,7 @@ package body Debug is -- d_O -- d_P -- d_Q - -- d_R + -- d_R For LLVM, dump the representation of records -- d_S -- d_T Output trace information on invocation path recording -- d_U Disable prepending messages with "error:". @@ -1001,6 +1001,9 @@ package body Debug is -- after the pass that does transformations to the IR into a -- filename ending with .trans.ll. + -- d_u In the LLVM-based CCG, dump flows, both when originally created + -- and after transformations. + -- d_v Enable additional checks and debug printouts in Atree -- d_x The compiler does not expand in line the Image attribute for user- @@ -1024,6 +1027,9 @@ package body Debug is -- it is checked, and the progress of the recursive trace through -- elaboration calls at compile time. + -- d_R In the LLVM backend, output the internal representation of + -- each record + -- d_T The compiler outputs trace information to standard output whenever -- an invocation path is recorded. |