]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Document secondary usage of Materialize_Entity flag
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 12 Mar 2024 17:57:08 +0000 (18:57 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 17 May 2024 08:21:05 +0000 (10:21 +0200)
The flag is also used by the semantic analyzer.

gcc/ada/

* einfo.ads (Materialize_Entity): Document secondary usage.

gcc/ada/einfo.ads

index 71c560d527272b679aeaf5cc1e3f0bd146fc66c8..e5110f516708ede2a3ac6da6d68e72adfcbefc78 100644 (file)
@@ -3584,10 +3584,11 @@ package Einfo is
 --       tasks implementing such interface.
 
 --    Materialize_Entity
---       Defined in all entities. Set only for renamed obects which should be
+--       Defined in all entities. Set mostly for renamed objects that should be
 --       materialized for debugging purposes. This means that a memory location
 --       containing the renamed address should be allocated. This is needed so
---       that the debugger can find the entity.
+--       that the debugger can find the entity. Also set on types built in the
+--       case of unanalyzed packages referenced through a limited_with clause.
 
 --    May_Inherit_Delayed_Rep_Aspects
 --       Defined in all entities for types and subtypes. Set if the type is