This is an archive of the discontinued LLVM Phabricator instance.

Add a shim for setenv on PS4 since it does not exist on PS4
ClosedPublic

Authored by dyung on Nov 8 2019, 3:51 PM.

Details

Summary

A few years back a similar change was made for getenv since neither function is supported on the PS4 platform.

Recently, commit d889d1e added a call to setenv in compiler-rt which was causing linking errors because the symbol was not found. This fixes that issue by putting in a shim similar to how we previously dealt with the lack of getenv.

Diff Detail

Event Timeline

dyung created this revision.Nov 8 2019, 3:51 PM
This revision is now accepted and ready to land.Nov 12 2019, 1:54 PM
This revision was automatically updated to reflect the committed changes.
Herald added a subscriber: Restricted Project. · View Herald TranscriptNov 12 2019, 3:29 PM