[libc-commits] [libc] [libc] init uefi os target (PR #120687)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Feb 8 05:42:12 PST 2025


================
@@ -13,10 +13,12 @@
 #include "src/__support/CPP/string_view.h"
 #include "src/__support/fixed_point/fx_rep.h"
 #include "src/__support/macros/config.h"
+#include "src/__support/macros/properties/os.h"
 #include "src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_INT128
 #include "src/__support/uint128.h"
 #include "test/UnitTest/TestLogger.h"
 
+#ifndef LIBC_TARGET_OS_IS_UEFI
----------------
jhuber6 wrote:

Fun fact, someone seems to have added Aarch64 support for `__builtin_readsteadycounter` https://godbolt.org/z/qK3341xYn.

https://github.com/llvm/llvm-project/pull/120687


More information about the libc-commits mailing list