This is an archive of the discontinued LLVM Phabricator instance.

[libcxxabi][SystemZ][z/OS] Added HybridGuard to cxa_guard
AbandonedPublic

Authored by DanielMcIntosh-IBM on Sep 23 2021, 10:45 AM.

Details

Reviewers
ldionne
EricWF
jroelofs
nicholas
Group Reviewers
Restricted Project
Summary

As described in D110349, on z/OS applications don't know at compile
time if threading support is enabled, so cxa_guard has to check that
at runtime, and adjust it's behaviour accordingly.

However, rather than checking if threading support is enabled, we can
instead check if there are potentially other threads running, and get
a little extra performance out of single-threaded applications.

This PR is the motivating factor for overhauling cxa_guard in D108343

Depends on D115369, D110349

Diff Detail

Event Timeline

DanielMcIntosh-IBM requested review of this revision.Sep 23 2021, 10:45 AM
DanielMcIntosh-IBM created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptSep 23 2021, 10:45 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Update function names as a result of changes to D110349

DanielMcIntosh-IBM edited the summary of this revision. (Show Details)

Update because of changes to dependent revisions