[all-commits] [llvm/llvm-project] 272279: [libcxxabi] Stub out 'sleep' call when _LIBCXXABI_...
abidh via All-commits
all-commits at lists.llvm.org
Wed Oct 21 12:59:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 272279a1c0fa4142e599aecdc75ef68720a81607
https://github.com/llvm/llvm-project/commit/272279a1c0fa4142e599aecdc75ef68720a81607
Author: Hafiz Abid Qadeer <abidh at codesourcery.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M libcxxabi/test/test_exception_storage.pass.cpp
Log Message:
-----------
[libcxxabi] Stub out 'sleep' call when _LIBCXXABI_HAS_NO_THREADS is defined.
While running this test on a bare metal target, I got an error as 'sleep' was not available on that system. As 'sleep' call is not doing anything useful for cases when _LIBCXXABI_HAS_NO_THREADS is defined. This patch puts it under this check.
Reviewed By: ldionne
Differential Revision: https://reviews.llvm.org/D89871
More information about the All-commits
mailing list