]> granicus.if.org Git - clang/commit
PowerPC fixes.
authorRoman Divacky <rdivacky@freebsd.org>
Thu, 6 Jan 2011 08:27:10 +0000 (08:27 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Thu, 6 Jan 2011 08:27:10 +0000 (08:27 +0000)
commitc81f2a2c7f83e64b3ef2b77030536290d0e2b350
treeed4caa109e488508b69a40cab85709c047cab456
parent914c9a61b7ef96ed259a464f20e51d166b5f68b0
PowerPC fixes.

Fix the width and align of bool type on Darwin to be 32bits
while keeping it 8 everywhere else.

Change the definition of va_list to default to SV4 ABI one
and let darwin subtarget override this.

Both changes submitted by Nathan Whitehorn and reviewed
by Rafael Espindola.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122956 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
lib/Basic/TargetInfo.cpp
lib/Basic/Targets.cpp
test/CodeGen/bool_test_darwin.c [new file with mode: 0644]
test/CodeGen/va_list_test_svr4.c [new file with mode: 0644]