diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-07-31 17:58:45 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-07-31 17:58:45 +0000 |
commit | dbf1045ad75c41e0711e075cf9e0ffd433c55c67 (patch) | |
tree | c75cc12748d00898b082c1e1d556af59ec43ab8d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 654e130b6ec76c1a2910b2594cb403ecd2773af8 (diff) | |
download | llvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.zip llvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.tar.gz llvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.tar.bz2 |
[MS ABI] Hook clang up to the new EH instructions
The new EH instructions make it possible for LLVM to generate .xdata
tables that the MSVC personality routines will be happy about. Because
this is experimental, hide it behind a -cc1 flag (-fnew-ms-eh).
Differential Revision: http://reviews.llvm.org/D11405
llvm-svn: 243767
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index b496c7c..9307711 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -456,6 +456,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, Opts.DumpCoverageMapping = Args.hasArg(OPT_dump_coverage_mapping); Opts.AsmVerbose = Args.hasArg(OPT_masm_verbose); Opts.ObjCAutoRefCountExceptions = Args.hasArg(OPT_fobjc_arc_exceptions); + Opts.NewMSEH = Args.hasArg(OPT_fnew_ms_eh); Opts.CXAAtExit = !Args.hasArg(OPT_fno_use_cxa_atexit); Opts.CXXCtorDtorAliases = Args.hasArg(OPT_mconstructor_aliases); Opts.CodeModel = getCodeModel(Args, Diags); |