diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-11-14 02:01:10 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-11-14 02:01:10 +0000 |
commit | e070b99b84e1a6bd31498333b1c3fa6fb356e6be (patch) | |
tree | af4df44dbd3002181f2fd3c9dff5ed49bb962ee5 /clang/lib/Driver/Tools.cpp | |
parent | d5fca9242501b708483efaf62e0f8ad86518569d (diff) | |
download | llvm-e070b99b84e1a6bd31498333b1c3fa6fb356e6be.zip llvm-e070b99b84e1a6bd31498333b1c3fa6fb356e6be.tar.gz llvm-e070b99b84e1a6bd31498333b1c3fa6fb356e6be.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index a648d61..7b87f2e 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -4140,8 +4140,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, if (getToolChain().UseSjLjExceptions()) CmdArgs.push_back("-fsjlj-exceptions"); - else if (getToolChain().UseSEHExceptions()) - CmdArgs.push_back("-fseh-exceptions"); // C++ "sane" operator new. if (!Args.hasFlag(options::OPT_fassume_sane_operator_new, |