HomePhabricator

Fix compile for -DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY

Authored by Nicu on May 21 2020, 5:46 AM.

Description

Fix compile for -DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY

Summary: Compilation with -DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY was failing due to missing declarations of functions used in libcxx/include/atomic. The lines this commit affects are the places where those functions are defined, now moved to be always defined.

Reviewers: #libc, ldionne

Reviewed By: #libc, ldionne

Subscribers: miyuki, dexonsmith, ldionne, jfb, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D80372

Details

Committed
miyukiMay 21 2020, 5:48 AM
Reviewer
Restricted Project
Differential Revision
D80372: Fix compile for -DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY
Parents
rG79e5ecfa7a6c: On Windows, handle interrupt signals without crash message
Branches
Unknown
Tags
Unknown