================
@@ -220,6 +220,14 @@ if( CLANG_HAVE_DLFCN_H )
   cmake_pop_check_state()
 endif()
 
+include(CheckCXXSourceCompiles)
+check_cxx_source_compiles("
+  extern \"C\" void *__emutls_get_address(void *);
+  int main() {
+    return __emutls_get_address((void *)0) != (void *)0;
+  }
+" CLANG_HAVE_EMUTLS_GET_ADDRESS)
----------------
pranavk wrote:

@compnerd ping

https://github.com/llvm/llvm-project/pull/217700
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to