]> granicus.if.org Git - clang/commit
[Driver][Darwin] Do not pass -munwind-table if -fno-excpetions is
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 21 Aug 2017 22:46:46 +0000 (22:46 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 21 Aug 2017 22:46:46 +0000 (22:46 +0000)
commitf4e3d63a31ea539b2afe20cd314ea3842b28dd51
tree4f460ce651d3309a5457099a8ac08428dfa75be3
parent19989eba4f019e3502f5c3f397336dd6aa8acc01
[Driver][Darwin] Do not pass -munwind-table if -fno-excpetions is
supplied.

With this change, -fno-exceptions disables unwind tables unless
-funwind-tables is supplied too or the target is x86-64 (x86-64 requires
emitting unwind tables).

rdar://problem/33934446

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311397 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Darwin.cpp
test/Driver/clang-translation.c