This needs to be updated to actually handle dwarf unwind tables for mingw-w64.
Getting this initial diff onto phab so we can have a discussion about it.
This should build for mingw-w64 even if it is not useful.
Im not sure that this is a reasonable patch. I think that specializing a AddressSpace for _WIN32 is more likely what we want. Furthermore, this actually should be more restrictive, since the unwind library cannot be used for Windows -- the unwinding model on Windows is completely different. This only makes sense for MinGW and cygwin, and so we should ensure that the environment matches that.
Huh? This doesn't make sense. mach_header_64 on _WIN64? Plus, how does dladdr work here?
Please use defined.
This should be using __declspec(dllexport) and .