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

Tristan Ross via libc-commits libc-commits at lists.llvm.org
Tue Jan 21 18:53:05 PST 2025


================
@@ -771,7 +778,7 @@ function(add_libc_hermetic test_name)
                    ${fq_deps_list})
   # TODO: currently the dependency chain is broken such that getauxval cannot properly
   # propagate to hermetic tests. This is a temporary workaround.
-  if (LIBC_TARGET_ARCHITECTURE_IS_AARCH64)
+  if (LIBC_TARGET_ARCHITECTURE_IS_AARCH64 AND NOT LIBC_TARGET_OS_IS_UEFI)
----------------
RossComputerGuy wrote:

TODO shouldn't be needed since there's no AUX vector in UEFI.

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


More information about the libc-commits mailing list