]> granicus.if.org Git - clang/commit
Driver: make it easier to select the SjLj EH model
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 10 Jun 2016 20:12:00 +0000 (20:12 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 10 Jun 2016 20:12:00 +0000 (20:12 +0000)
commite387485aa44cc928101ac8bf46289c925158f9e5
tree009e952789546148c9120519b5af181c0cd9892f
parent0d3963456d9a9037861098705b944b7284a31906
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
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/fsjlj-exceptions.c [new file with mode: 0644]