ruiu added a comment. This is for mingw, right? Do you think what you would eventually need in addition to this? I'd like to know the impact of changes you are planning to make. http://reviews.llvm.org/D13933