]> granicus.if.org Git - clang/commit
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)
commitb27216c806161a863227e115a7e6598b89f28445
tree0cf4c94b8ce911adcf39379a7699a4d08b094ac6
parent22dc02b19ced0534aba95ded55b099b4da7b934a
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221963 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
include/clang/Driver/ToolChain.h
lib/Basic/Targets.cpp
lib/CodeGen/CGException.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/InitPreprocessor.cpp
test/CodeGenCXX/mingw-w64-seh-exceptions.cpp