[compiler-rt] a8cdbb9 - Remove requirement to have AUXV as don't have this on Windows.

Russell Gallop via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 04:22:53 PST 2021


Author: Russell Gallop
Date: 2021-01-21T16:54:13Z
New Revision: a8cdbb9c35fb7071a74af6a13709ad5ef30cea44

URL: https://github.com/llvm/llvm-project/commit/a8cdbb9c35fb7071a74af6a13709ad5ef30cea44
DIFF: https://github.com/llvm/llvm-project/commit/a8cdbb9c35fb7071a74af6a13709ad5ef30cea44.diff

LOG: Remove requirement to have AUXV as don't have this on Windows.

Probably need better solution (maybe just needing on Linux).

Added: 
    

Modified: 
    compiler-rt/cmake/config-ix.cmake

Removed: 
    


################################################################################
diff  --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index 01efbbd6ba92..327172b35938 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -759,8 +759,7 @@ else()
 endif()
 
 #TODO(kostyak): add back Android & Fuchsia when the code settles a bit.
-if (SCUDO_STANDALONE_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux" AND
-    COMPILER_RT_HAS_AUXV)
+if (SCUDO_STANDALONE_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux|Windows")
   set(COMPILER_RT_HAS_SCUDO_STANDALONE TRUE)
 else()
   set(COMPILER_RT_HAS_SCUDO_STANDALONE FALSE)


        


More information about the llvm-commits mailing list