This is an archive of the discontinued LLVM Phabricator instance.

[libcxxabi][SystemZ][z/OS] Update libcxxabi/src/fallback_malloc.cpp to support POSIX(OFF)
AbandonedPublic

Authored by DanielMcIntosh-IBM on Oct 26 2021, 11:41 AM.

Details

Reviewers
ldionne
EricWF
compnerd
ikudrin
jroelofs
Group Reviewers
Restricted Project
Summary

Modify mutexor so we don't perform syncronization in fallback_malloc() or
fallback_free() when we're in a single-threaded application in order to
prevent calls to mutex functions when the threading API is disabled.

Depends on D110349

Diff Detail