This is an archive of the discontinued LLVM Phabricator instance.

[libc] Link the SCUDO integration tests to a special entrypoint collection.
ClosedPublic

Authored by sivachandra on Mar 23 2022, 4:21 PM.

Details

Summary

We were previously linking to libllvmlibc.a. But, with libllvmlibc.a now
including functions which depend on the loader, we will have to use the
LLVM libc loader as well. To avoid this, we will link to a special
library which is just a collection of SCUDO allocator entrypoints.

Diff Detail

Event Timeline

sivachandra created this revision.Mar 23 2022, 4:21 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 23 2022, 4:21 PM
sivachandra requested review of this revision.Mar 23 2022, 4:21 PM
michaelrj accepted this revision.Mar 23 2022, 4:24 PM

LGTM, although I should look into adding an entrypoint for aligned_alloc

This revision is now accepted and ready to land.Mar 23 2022, 4:24 PM