Patch by Martell Malone.
This patch adds MinGW-w64 SEH on Win64 support on the clang side.
See http://reviews.llvm.org/differential/revision/edit/3418/ for the LLVM part of the patch.
Paths
| Differential D3419
MinGW-w64 SEH on Win64 support (clang part) ClosedPublic Authored by Alexpux on Apr 18 2014, 1:31 AM.
Details Summary Patch by Martell Malone. This patch adds MinGW-w64 SEH on Win64 support on the clang side. See http://reviews.llvm.org/differential/revision/edit/3418/ for the LLVM part of the patch.
Diff Detail
Event TimelineComment Actions Is this useful without the LLVM change (http://reviews.llvm.org/D3418)? It seems like a reasonable step forward for MinGW64 compatibility, but I think the commit message is off. I think most people will assume "SEH exceptions" means try { ... } except (...) { ... }, which is not what this commit covers. I'd rephrase it to talk about MinGW64 SEH support. This revision now requires changes to proceed.Sep 9 2014, 7:54 PM rnk edited edge metadata. Comment Actions
Comment Actions Hi Alex, In the "Action" box above select "Commandeer Revision" and then you will become the Author. To upload a new diff there are some options. If you want to upload the patch file, select "Create Diff" in the top-right corner and upload the updated patch. Then, attach it to this revision and it will appear here. This patch requires lib/Driver/MinGWToolChain.cpp but you can move the three lines required in this file to the mingw toolchain patch so it won't block this one. yaron.keren retitled this revision from SEH exceptions on Win64 (clang part) to MinGW-w64 SEH on Win64 support (clang part).Sep 9 2014, 10:34 PM yaron.keren updated this object. yaron.keren edited edge metadata. This revision is now accepted and ready to land.Sep 9 2014, 10:36 PM Comment Actions I thought this was in the code base already? How do I accept it as a reviewer? Comment Actions martell, I'm get remove mingw toolchain part from here to http://reviews.llvm.org/D5268.
Revision Contents
Diff 13718 cfe/trunk/include/clang/Basic/LangOptions.def
cfe/trunk/include/clang/Driver/CC1Options.td
cfe/trunk/include/clang/Driver/ToolChain.h
cfe/trunk/lib/CodeGen/CGException.cpp
cfe/trunk/lib/Driver/Tools.cpp
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
cfe/trunk/lib/Frontend/InitPreprocessor.cpp
cfe/trunk/test/CodeGenCXX/mingw-w64-seh-exceptions.cpp
|