This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add the 'cpp.new' as a dependency on `atexit`
ClosedPublic

Authored by jhuber6 on Aug 21 2023, 12:57 PM.

Details

Summary

The atexit function depends on the implementations in CPP/new.h but it
is not listed as a dependency. This causes the GPU build to not include
it in the libcgpu.a file and prevents us from using the startup code
externally. Simply add it.

Diff Detail

Event Timeline

jhuber6 created this revision.Aug 21 2023, 12:57 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 21 2023, 12:57 PM
jhuber6 requested review of this revision.Aug 21 2023, 12:57 PM
sivachandra accepted this revision.Aug 21 2023, 12:58 PM
This revision is now accepted and ready to land.Aug 21 2023, 12:58 PM
This revision was automatically updated to reflect the committed changes.