[llvm] r282775 - GC HAVE_SETJMP_H and checks for the content of setjmp.h.

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 14:28:37 PDT 2016


Author: joerg
Date: Thu Sep 29 16:28:37 2016
New Revision: 282775

URL: http://llvm.org/viewvc/llvm-project?rev=282775&view=rev
Log:
GC HAVE_SETJMP_H and checks for the content of setjmp.h.

Modified:
    llvm/trunk/cmake/config-ix.cmake
    llvm/trunk/include/llvm/Config/config.h.cmake

Modified: llvm/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/config-ix.cmake?rev=282775&r1=282774&r2=282775&view=diff
==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Thu Sep 29 16:28:37 2016
@@ -155,12 +155,6 @@ check_symbol_exists(isatty unistd.h HAVE
 check_symbol_exists(futimens sys/stat.h HAVE_FUTIMENS)
 check_symbol_exists(futimes sys/time.h HAVE_FUTIMES)
 check_symbol_exists(posix_fallocate fcntl.h HAVE_POSIX_FALLOCATE)
-if( HAVE_SETJMP_H )
-  check_symbol_exists(longjmp setjmp.h HAVE_LONGJMP)
-  check_symbol_exists(setjmp setjmp.h HAVE_SETJMP)
-  check_symbol_exists(siglongjmp setjmp.h HAVE_SIGLONGJMP)
-  check_symbol_exists(sigsetjmp setjmp.h HAVE_SIGSETJMP)
-endif()
 # AddressSanitizer conflicts with lib/Support/Unix/Signals.inc
 if( HAVE_SIGNAL_H AND NOT LLVM_USE_SANITIZER MATCHES ".*Address.*")
   check_symbol_exists(sigaltstack signal.h HAVE_SIGALTSTACK)

Modified: llvm/trunk/include/llvm/Config/config.h.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Config/config.h.cmake?rev=282775&r1=282774&r2=282775&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Thu Sep 29 16:28:37 2016
@@ -154,9 +154,6 @@
    the current directory to the dynamic linker search path. */
 #undef HAVE_LINK_R
 
-/* Define to 1 if you have the `longjmp' function. */
-#cmakedefine HAVE_LONGJMP ${HAVE_LONGJMP}
-
 /* Define to 1 if you have the <mach/mach.h> header file. */
 #cmakedefine HAVE_MACH_MACH_H ${HAVE_MACH_MACH_H}
 
@@ -239,9 +236,6 @@
 /* Define to 1 if you have the `setenv' function. */
 #cmakedefine HAVE_SETENV ${HAVE_SETENV}
 
-/* Define to 1 if you have the `setjmp' function. */
-#cmakedefine HAVE_SETJMP ${HAVE_SETJMP}
-
 /* Define to 1 if you have the `setrlimit' function. */
 #cmakedefine HAVE_SETRLIMIT ${HAVE_SETRLIMIT}
 
@@ -251,15 +245,9 @@
 /* Define to 1 if you have the `sigaltstack' function. */
 #cmakedefine HAVE_SIGALTSTACK ${HAVE_SIGALTSTACK}
 
-/* Define to 1 if you have the `siglongjmp' function. */
-#cmakedefine HAVE_SIGLONGJMP ${HAVE_SIGLONGJMP}
-
 /* Define to 1 if you have the <signal.h> header file. */
 #cmakedefine HAVE_SIGNAL_H ${HAVE_SIGNAL_H}
 
-/* Define to 1 if you have the `sigsetjmp' function. */
-#cmakedefine HAVE_SIGSETJMP ${HAVE_SIGSETJMP}
-
 /* Define to 1 if you have the <stdint.h> header file. */
 #cmakedefine HAVE_STDINT_H ${HAVE_STDINT_H}
 




More information about the llvm-commits mailing list