llvm-capstone/libcxx
Zbigniew Sarbinowski cb2d2ae56a [SystemZ][ZOS] Provide CLOCK_MONOTONIC alternative
We need CLOCK_MONOTONIC equivalent implementation for z/OS within libc++. The default implementation is asserting.

On z/OS the lack of  'clock_gettime()' and 'time_point()' force us to look for alternatives.
The current proposal is to use `gettimeofday()` for CLOCK_MONOTONIC  which is also used in CLOCK_REALTIME.  This will allow us to skip the assertion with compromised CLOCK_MONOTONIC implementation which will not guarantee to never go back in time because it will use `gettimeofday()` but only when it's set.

Is this a good compromise for platforms which does not support monotonic clock?
Hopefully this will spark the discussion and agreement how to proceed in this situation.

Reviewed By: #libc, ldionne, hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D93542
2021-02-12 18:39:48 +00:00
..
benchmarks Revert "[libc++] Require C++20 to build the benchmarks." 2021-02-09 19:59:34 +01:00
cmake [libc++] Make LIBCXX_ENABLE_FILESYSTEM fully consistent 2021-01-19 14:15:48 -05:00
docs [libc++] [LWG2993] reference_wrapper<T> conversion from U&& 2021-02-09 15:50:25 -05:00
include [SystemZ][ZOS] Provide CLOCK_MONOTONIC alternative 2021-02-12 18:39:48 +00:00
lib [libc++] Implement format_error. 2021-01-28 18:02:53 +01:00
src [SystemZ][ZOS] Provide CLOCK_MONOTONIC alternative 2021-02-12 18:39:48 +00:00
test [libc++][format] Add basic_format_parse_context. 2021-02-11 17:57:54 +01:00
utils [libc++] Add a wait step in the BuildKite pipeline to shield macOS builders 2021-02-08 10:14:16 -05:00
www [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00
CMakeLists.txt Bump the trunk major version to 13 2021-01-26 19:37:55 -08:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00