Driver: make it easier to select the SjLj EH model
GCC still permits enabling the SjLj EH model. This is something which can be done on various targets. Hoist the -fsjlj-exceptions option into the driver and pass it through. This allows one to opt into the alternative EH model while retaining the default to be the target's default. Resolves PR27749! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272424 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Driver/CC1Options.td 0 additions, 2 deletionsinclude/clang/Driver/CC1Options.td
- include/clang/Driver/Options.td 2 additions, 0 deletionsinclude/clang/Driver/Options.td
- lib/Driver/Tools.cpp 2 additions, 1 deletionlib/Driver/Tools.cpp
- test/Driver/fsjlj-exceptions.c 8 additions, 0 deletionstest/Driver/fsjlj-exceptions.c
Loading
Please register or sign in to comment