Skip to content

.stack_sizes section output is incorrect #1

Closed
@JordiChauzi

Description

@JordiChauzi

When using the clang option -fstack-size-section, the section .stack_sizes is added in the object file.
The contents of this section are a list of tuples, composed of an IRAM offset (pointer size, 4 bytes for us) and a size (encoded as an unsigned LEB128).

In the case of a DPU program, the offsets seem OK, but the sizes are 0 for the leaf functions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions