[libunwind] r339259 - Remove unneeded preprocessor condition.

Charles Davis via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 8 08:18:22 PDT 2018


Author: cdavis
Date: Wed Aug  8 08:18:22 2018
New Revision: 339259

URL: http://llvm.org/viewvc/llvm-project?rev=339259&view=rev
Log:
Remove unneeded preprocessor condition.

Modified:
    libunwind/trunk/include/unwind.h

Modified: libunwind/trunk/include/unwind.h
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/include/unwind.h?rev=339259&r1=339258&r2=339259&view=diff
==============================================================================
--- libunwind/trunk/include/unwind.h (original)
+++ libunwind/trunk/include/unwind.h Wed Aug  8 08:18:22 2018
@@ -379,20 +379,11 @@ extern void *__deregister_frame_info_bas
 
 #if defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__)
 // This is the common wrapper for GCC-style personality functions with SEH.
-#ifdef __x86_64__
-// The DISPATCHER_CONTEXT struct is only defined on x64.
 extern EXCEPTION_DISPOSITION _GCC_specific_handler(PEXCEPTION_RECORD exc,
                                                    PVOID frame,
                                                    PCONTEXT ctx,
                                                    PDISPATCHER_CONTEXT disp,
                                                    _Unwind_Personality_Fn pers);
-#else
-extern EXCEPTION_DISPOSITION _GCC_specific_handler(PEXCEPTION_RECORD exc,
-                                                   PVOID frame,
-                                                   PCONTEXT ctx,
-                                                   PVOID disp,
-                                                   _Unwind_Personality_Fn pers);
-#endif
 #endif
 
 #ifdef __cplusplus




More information about the cfe-commits mailing list