[OpenBSD] Add type sign information for OpenBSD
authorRenato Golin <renato.golin@linaro.org>
Thu, 22 Sep 2016 19:28:20 +0000 (19:28 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 22 Sep 2016 19:28:20 +0000 (19:28 +0000)
commit0201a9e94e3e95baf0e2d818e79c3f63b8fef558
tree0a4cd8ed216a09272bd3811317b74b051f742475
parentaec851ce9a39d5ed595dfd9ca9cd886574a67670
[OpenBSD] Add type sign information for OpenBSD

Like NetBSD, OpenBSD prefers having a consistent set of typedefs
across the architectures it supports over strictly following the ARM
ABIs.  The diff below makes sure that clang's view of those types
matches OpenBSD's system header files.  It also adds a test that
checks the relevant types on all OpenBSD platforms that clang works
on.  Hopefully we can add mips64 and powerpc to that list in the
future.

Patch by Mark Kettenis <mark.kettenis@xs4all.nl>

llvm-svn: 282184
clang/lib/Basic/Targets.cpp
clang/test/Preprocessor/init.c