Skip to content

[ATfE] proflib.c sample workaround for LLVM libc#786

Merged
voltur01 merged 2 commits intoarm:arm-softwarefrom
voltur01:libc_prof_sample
Mar 13, 2026
Merged

[ATfE] proflib.c sample workaround for LLVM libc#786
voltur01 merged 2 commits intoarm:arm-softwarefrom
voltur01:libc_prof_sample

Conversation

@voltur01
Copy link
Contributor

Provide a temporary implementation of missing file IO functions to allow running all samples including cpp-baremetal-semihosting-prof with LLVM libc.

Provide a temporary implementation of missing file IO functions to allow running all samples including cpp-baremetal-semihosting-prof with LLVM libc.
@voltur01 voltur01 requested a review from a team as a code owner March 12, 2026 09:28
vhscampos
vhscampos previously approved these changes Mar 12, 2026
Copy link
Contributor

@vhscampos vhscampos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but a minor suggestion


size_t args[3];
args[0] = (size_t)filename;
args[1] = (size_t)OPENMODE_W | OPENMODE_B;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For better readability: (size_t)(OPENMODE_W | OPENMODE_B)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion, thanks - added.

@voltur01 voltur01 merged commit c6b508d into arm:arm-software Mar 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants