[PATCH] __register_frame() when cross-building on Windows
andrew.kaylor at intel.com
Mon Sep 30 13:00:49 PDT 2013
Looks good to me.
From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Yaron Keren
Sent: Sunday, September 29, 2013 2:34 AM
To: llvm-commits at cs.uiuc.edu
Subject: [PATCH] __register_frame() when cross-building on Windows
The HAVE_EHTABLE_SUPPORT logic in lib\ExecutionEngine\RTDyldMemoryManager.cpp assumes that if __register_frame() is not available on the building compiler, it's not available in the target. For example, this happens on Windows when building LLVM with Visual C++ but using the MingW runtime.
The attached patch tries (once) to find __register_frame() in the loaded dynamic libraries at runtime if it wasn't linked at compile time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits