[libc-commits] [PATCH] D74652: [libc] Add support library for use with tests.
Alex Brachet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Feb 14 23:19:26 PST 2020
abrachet added inline comments.
================
Comment at: libc/utils/testutils/Support.h:6
+int sleep(unsigned int seconds);
+void abort();
+
----------------
We could just do (outside of the namespaces) `extern "C" void abort();` instead of providing this wrapper ourselves.
I'm assuming because `sleep`s implementation is in a linux directory that it's called something else on Windows?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74652/new/
https://reviews.llvm.org/D74652
More information about the libc-commits
mailing list