]> granicus.if.org Git - clang/commit
Add -fexceptions to Driver
authorDaniel Dunbar <daniel@zuster.org>
Mon, 11 Aug 2008 17:36:14 +0000 (17:36 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 11 Aug 2008 17:36:14 +0000 (17:36 +0000)
commit6379a7a15335e0af543a942efe9cfd514a83dab8
treea8636980d6c00dd64e11ac146bbdf6f35d1889fb
parent58bf6101062867ca4b3028f9e77e4ae642f09b44
Add -fexceptions to Driver
 - Maps to LangOptions.Exceptions
 - Currently always off, should autoselect based on language.

Update CodeGen to set unwind attribute on functions definitions based
       on LangOptions.Exceptions.
 - Still need to set attributes appropriately on calls.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54643 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/clang.cpp
include/clang/Basic/LangOptions.h
lib/CodeGen/CodeGenModule.cpp