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)
commit00853e5b6ac9a98282cded783f363c46f07a0c91
tree155f4d36fe716845bc41f16fe45b0998eb4f6d82
parent183771bd8ef3c0fa94b346d3e9a03aeaa1a5093e
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

llvm-svn: 214854
clang/lib/Basic/Targets.cpp
clang/test/Sema/arm-darwin-aapcs.cpp