This is an archive of the discontinued LLVM Phabricator instance.

[libc] Adjust aarch64 startup code to reliably sniff out the start args.
ClosedPublic

Authored by sivachandra on Aug 3 2022, 5:39 PM.

Details

Summary

Since this now allows, the init/fini array iteration has been added in
a similar fashion to x86_64 and the corresponding test enabled.

Diff Detail

Event Timeline

sivachandra created this revision.Aug 3 2022, 5:39 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 3 2022, 5:39 PM
sivachandra requested review of this revision.Aug 3 2022, 5:39 PM
sivachandra edited the summary of this revision. (Show Details)Aug 3 2022, 5:42 PM
jeffbailey accepted this revision.Aug 3 2022, 10:21 PM

We don't have span, or I'd be tempted to suggest using it for that code.

libc/test/integration/loader/linux/CMakeLists.txt
54–55

Why not just remove this?

This revision is now accepted and ready to land.Aug 3 2022, 10:21 PM