]> granicus.if.org Git - clang/commit
[Clang][Darwin] Define __ARM_DWARF_EH__ for WatchABI
authorChris Bieneman <beanz@apple.com>
Fri, 29 Apr 2016 17:53:00 +0000 (17:53 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 29 Apr 2016 17:53:00 +0000 (17:53 +0000)
commit1ec71b33defb8623e66fa13eef37ad7db5b6c772
tree131316e82a1a431e284fcb5694605947a9be7a3d
parentd16ddbb723802210a8d4d0eccddf1cdd0c4507b5
[Clang][Darwin] Define __ARM_DWARF_EH__ for WatchABI

Summary: The Darwin armv7k ABI uses Dwarf EH, so we need to set the OS define correctly. Without this the gcc_personality fails to build.

Reviewers: t.p.northover

Subscribers: aemerson, cfe-commits, rengolin

Differential Revision: http://reviews.llvm.org/D19693

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268078 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/arm-target-features.c