This patch enables marshalling of the exception model options while enforcing their mutual exclusivity. The clang driver interface remains the same, this only affects the cc1 command line.
Depends on D93215.
Paths
| Differential D93216
[clang][cli] Squash multiple cc1 -fxxx-exceptions flags into single -exception-model=xxx option ClosedPublic Authored by jansvoboda11 on Dec 14 2020, 7:13 AM.
Details Summary This patch enables marshalling of the exception model options while enforcing their mutual exclusivity. The clang driver interface remains the same, this only affects the cc1 command line. Depends on D93215.
Diff Detail
Event TimelineHerald added subscribers: dang, mstorsjo, sbc100 and 2 others. · View Herald TranscriptDec 14 2020, 7:13 AM jansvoboda11 retitled this revision from [clang][cli] Squash multiple -fxxx-exceptions flags into single -exception-model=xxx option to [clang][cli] Squash multiple cc1 -fxxx-exceptions flags into single -exception-model=xxx option.Dec 14 2020, 7:20 AM This revision is now accepted and ready to land.Dec 14 2020, 10:11 AM This revision was landed with ongoing or failed builds.Dec 15 2020, 1:16 AM Closed by commit rG56c5548d7f07: [clang][cli] Squash multiple cc1 -fxxx-exceptions flags into single -exception… (authored by jansvoboda11). · Explain Why This revision was automatically updated to reflect the committed changes. thakis mentioned this in rG671f0e2e189c: [clang] Make libBasic not depend on MC.Apr 28 2021, 9:16 AM
Revision Contents
Diff 311589 clang/include/clang/Basic/DiagnosticFrontendKinds.td
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGen/exceptions.c
clang/test/CodeGen/personality.c
clang/test/CodeGenCXX/mingw-w64-exceptions.c
clang/test/CodeGenCXX/mingw-w64-seh-exceptions.cpp
clang/test/CodeGenCXX/personality.cpp
clang/test/CodeGenCXX/wasm-eh.cpp
clang/test/CodeGenObjC/personality.m
clang/test/CodeGenObjCXX/objfw-exceptions.mm
clang/test/CodeGenObjCXX/personality.mm
clang/test/Driver/arch-armv7k.c
clang/test/Driver/freebsd.c
clang/test/Driver/fsjlj-exceptions.c
clang/test/Driver/ve-toolchain.c
clang/test/Driver/ve-toolchain.cpp
clang/test/Driver/windows-exceptions.cpp
clang/test/Frontend/windows-exceptions.cpp
clang/test/Preprocessor/init-arm.c
|
clang-format not found in user's PATH; not linting file.