Remove -fseh-exceptions in favor of checking the triple
authorReid Kleckner <reid@kleckner.net>
Fri, 14 Nov 2014 02:01:10 +0000 (02:01 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 14 Nov 2014 02:01:10 +0000 (02:01 +0000)
commite070b99b84e1a6bd31498333b1c3fa6fb356e6be
treeaf4df44dbd3002181f2fd3c9dff5ed49bb962ee5
parentd5fca9242501b708483efaf62e0f8ad86518569d
Remove -fseh-exceptions in favor of checking the triple

This option was misleading because it looked like it enabled the
language feature of SEH (__try / __except), when this option was really
controlling which EH personality function to use. Mingw only supports
SEH and SjLj EH on x86_64, so we can simply do away with this flag.

llvm-svn: 221963
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/CC1Options.td
clang/include/clang/Driver/ToolChain.h
clang/lib/Basic/Targets.cpp
clang/lib/CodeGen/CGException.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/InitPreprocessor.cpp
clang/test/CodeGenCXX/mingw-w64-seh-exceptions.cpp