Re: Remote query for structure layout

Simon Marchi via Gdb
2021-03-30T22:38:42Z

On 2021-03-30 6:03 p.m., David Blaikie wrote:>
> Perhaps - though I was thinking actually hardcoded in the compiler - since it's the one that chooses/knows the layout, it's not (presumably) using any code it reads from a header, etc, in user code to define the layout.

Is it really the compiler that decides this layout? My understanding is
that this is decided by the FreeRTOS code.

Having used FreeRTOS a few times, my understanding is that it's
basically a big library, the compiler doesn't really know about it. For
all it knows, you are compiling a bare metal program that happens to
implement a task system.

Simon