Deleted Added
full compact
Targets.cpp (243830) Targets.cpp (244640)
1//===--- Targets.cpp - Implement -arch option and targets -----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 3064 unchanged lines hidden (view full) ---

3073 ABI = Name;
3074
3075 // The defaults (above) are for AAPCS, check if we need to change them.
3076 //
3077 // FIXME: We need support for -meabi... we could just mangle it into the
3078 // name.
3079 if (Name == "apcs-gnu") {
3080 DoubleAlign = LongLongAlign = LongDoubleAlign = SuitableAlign = 32;
1//===--- Targets.cpp - Implement -arch option and targets -----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 3064 unchanged lines hidden (view full) ---

3073 ABI = Name;
3074
3075 // The defaults (above) are for AAPCS, check if we need to change them.
3076 //
3077 // FIXME: We need support for -meabi... we could just mangle it into the
3078 // name.
3079 if (Name == "apcs-gnu") {
3080 DoubleAlign = LongLongAlign = LongDoubleAlign = SuitableAlign = 32;
3081 SizeType = UnsignedLong;
3081 // size_t is unsigned int on FreeBSD.
3082 if (getTriple().getOS() != llvm::Triple::FreeBSD)
3083 SizeType = UnsignedLong;
3082
3083 // Revert to using SignedInt on apcs-gnu to comply with existing behaviour.
3084 WCharType = SignedInt;
3085
3086 // Do not respect the alignment of bit-field types when laying out
3087 // structures. This corresponds to PCC_BITFIELD_TYPE_MATTERS in gcc.
3088 UseBitFieldTypeAlignment = false;
3089

--- 1650 unchanged lines hidden ---
3084
3085 // Revert to using SignedInt on apcs-gnu to comply with existing behaviour.
3086 WCharType = SignedInt;
3087
3088 // Do not respect the alignment of bit-field types when laying out
3089 // structures. This corresponds to PCC_BITFIELD_TYPE_MATTERS in gcc.
3090 UseBitFieldTypeAlignment = false;
3091

--- 1650 unchanged lines hidden ---