This is an archive of the discontinued LLVM Phabricator instance.

[clang][emscripten] Add builtin define for __EMSCRIPTEN_PTHREADS__
ClosedPublic

Authored by sbc100 on Feb 5 2021, 12:49 PM.

Details

Summary

Currently the emscripten frontend driver injects this when building
with thread support. Moving this into the clang driver itself makes
the emscripten python driver less magical.

Diff Detail

Event Timeline

sbc100 created this revision.Feb 5 2021, 12:49 PM
sbc100 requested review of this revision.Feb 5 2021, 12:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2021, 12:49 PM
kripken accepted this revision.Feb 5 2021, 1:30 PM
This revision is now accepted and ready to land.Feb 5 2021, 1:30 PM
dschuff accepted this revision.Feb 5 2021, 1:46 PM
This revision was landed with ongoing or failed builds.Feb 5 2021, 1:53 PM
This revision was automatically updated to reflect the committed changes.