aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <abidh@codesourcery.com>2020-10-21 20:56:24 +0100
committerHafiz Abid Qadeer <abidh@codesourcery.com>2020-10-21 20:56:24 +0100
commit272279a1c0fa4142e599aecdc75ef68720a81607 (patch)
treee30f3c04f3c274b1b93d8db4a580c9bfab2efb40 /clang/lib/CodeGen/CodeGenModule.cpp
parent8d9466a3850b8f213b817075ede0fdec8526b7a7 (diff)
downloadllvm-272279a1c0fa4142e599aecdc75ef68720a81607.zip
llvm-272279a1c0fa4142e599aecdc75ef68720a81607.tar.gz
llvm-272279a1c0fa4142e599aecdc75ef68720a81607.tar.bz2
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions