digitalmars.D.learn - Where is TypeInfo stored?
- Jeremy DeHaan (4/4) Mar 27 2018 I was doing some experiments with the runtime and I didn't notice
- Adam D. Ruppe (3/4) Mar 27 2018 Yeah, they are in the data segment as static data (just like if
- Jeremy DeHaan (2/6) Mar 27 2018 Awesome, thanks. That is what I was hoping for.
I was doing some experiments with the runtime and I didn't notice the TypeInfo instances being allocated by the GC. Are these put into the text or data segments? Is there anyway to find out more about this process?
Mar 27 2018
On Tuesday, 27 March 2018 at 18:56:58 UTC, Jeremy DeHaan wrote:Are these put into the text or data segments?Yeah, they are in the data segment as static data (just like if you declared your own static array).
Mar 27 2018
On Tuesday, 27 March 2018 at 19:06:38 UTC, Adam D. Ruppe wrote:On Tuesday, 27 March 2018 at 18:56:58 UTC, Jeremy DeHaan wrote:Awesome, thanks. That is what I was hoping for.Are these put into the text or data segments?Yeah, they are in the data segment as static data (just like if you declared your own static array).
Mar 27 2018