]> granicus.if.org Git - clang/commit
MachO: set sizeof result type to what embedded headers expect.
authorTim Northover <tnorthover@apple.com>
Tue, 5 Aug 2014 11:07:26 +0000 (11:07 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 5 Aug 2014 11:07:26 +0000 (11:07 +0000)
commitf0efbf6108126c4830694e0fff393e6cba300b03
tree06e17399b631931b697c7ba170ed0b0ea7e1e53f
parenta5052804254f4c04922b95148225527a5428fb0a
MachO: set sizeof result type to what embedded headers expect.

Embedded systems seem to have inherited Darwin's choise of "unsigned long" for
size_t (via a bunch of headers), so we should respect that.

rdar://problem/17872787

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Sema/arm-darwin-aapcs.cpp