This is an archive of the discontinued LLVM Phabricator instance.

[libc] Enable the GPU build to build the UnitTest library
ClosedPublic

Authored by jhuber6 on Apr 25 2023, 5:06 PM.

Details

Summary

The previous patch in D149216 allows us to use the internal <stdlib.h>
include for the GPU build. However, we currently don't provide the
memory functions so the header wasn't resolving them. This patch adds
these as entrypoints. They don't cause any entrypoints to be emitted
because they are not implemented, but they provide it in the header so
that we can rely on the test's implementation of them.

Depends on D149216

Diff Detail

Event Timeline

jhuber6 created this revision.Apr 25 2023, 5:06 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 25 2023, 5:06 PM
jhuber6 requested review of this revision.Apr 25 2023, 5:06 PM
sivachandra accepted this revision.Apr 25 2023, 10:28 PM
This revision is now accepted and ready to land.Apr 25 2023, 10:28 PM
This revision was automatically updated to reflect the committed changes.