[llvm] r197483 - There are no __register_frame and __deregister_frame functions

Alp Toker alp at nuanti.com
Thu Dec 19 21:27:12 PST 2013


Hi Bill,

This fixes the build on MinGW64, issue reported by people testing the 
release candidate.

Please pull into 3.4.

Thanks
Alp.


On 17/12/2013 08:40, Yaron Keren wrote:
> Author: yrnkrn
> Date: Tue Dec 17 02:40:11 2013
> New Revision: 197483
>
> URL: http://llvm.org/viewvc/llvm-project?rev=197483&view=rev
> Log:
> There are no __register_frame and __deregister_frame functions
> when using structured exception handling (SEH) on Windows 64.
>
> http://llvm-reviews.chandlerc.com/D2378
>
> Patch by Jonathan Liu!
>
>
> Modified:
>      llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp
>
> Modified: llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp?rev=197483&r1=197482&r2=197483&view=diff
> ==============================================================================
> --- llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp (original)
> +++ llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp Tue Dec 17 02:40:11 2013
> @@ -34,7 +34,7 @@ RTDyldMemoryManager::~RTDyldMemoryManage
>   
>   // Determine whether we can register EH tables.
>   #if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
> -     !defined(__USING_SJLJ_EXCEPTIONS__))
> +     !defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
>   #define HAVE_EHTABLE_SUPPORT 1
>   #else
>   #define HAVE_EHTABLE_SUPPORT 0
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-- 
http://www.nuanti.com
the browser experts




More information about the llvm-commits mailing list