diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2018-06-06 23:09:02 +0000 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2018-06-06 23:09:02 +0000 |
| commit | 09edbddee749a5c1c8a1b328159bd3f98edd2a1e (patch) | |
| tree | 9deadf27a51476590b1737d41fd613748837026b /clang/lib | |
| parent | 3a32b41024cc71b212124d7be4bf1a591fa6065b (diff) | |
| download | bcm5719-llvm-09edbddee749a5c1c8a1b328159bd3f98edd2a1e.tar.gz bcm5719-llvm-09edbddee749a5c1c8a1b328159bd3f98edd2a1e.zip | |
[Driver] Stop passing -fseh-exceptions for x86_64-windows-msvc
-fseh-exceptions is only meaningful for MinGW targets, and that driver
already has logic to pass either -fdwarf-exceptions or -fseh-exceptions
as appropriate. -fseh-exceptions is just a no-op for MSVC triples, and
passing it to cc1 causes unnecessary confusion.
Differential Revision: https://reviews.llvm.org/D47850
llvm-svn: 334145
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Driver/ToolChain.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Driver/ToolChain.cpp b/clang/lib/Driver/ToolChain.cpp index c12943c6c9b..a3799ac6138 100644 --- a/clang/lib/Driver/ToolChain.cpp +++ b/clang/lib/Driver/ToolChain.cpp @@ -471,8 +471,6 @@ ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { llvm::ExceptionHandling ToolChain::GetExceptionModel(const llvm::opt::ArgList &Args) const { - if (Triple.isOSWindows() && Triple.getArch() != llvm::Triple::x86) - return llvm::ExceptionHandling::WinEH; return llvm::ExceptionHandling::None; } |

