]> granicus.if.org Git - llvm/commit
[Solaris] replace Solaris.h hack with a set of better hacks
authorKamil Rytarowski <n54@gmx.com>
Thu, 22 Jun 2017 13:18:46 +0000 (13:18 +0000)
committerKamil Rytarowski <n54@gmx.com>
Thu, 22 Jun 2017 13:18:46 +0000 (13:18 +0000)
commitfb1808c254466ff19590b01e0a7e74356135fb74
tree9a9f4b1aab163ddd2ee12e5a43d98e303e55ee90
parent841b888a685e24020df2d74e51641887957438d9
[Solaris] replace Solaris.h hack with a set of better hacks

Summary:
Got rid of unwieldy -include Solaris.h portability solution, replacing it with interposed header and moving endian defines into Host.h.

Fixes PR28370.

Reviewers: joerg, alekseyshl, mgorny

Reviewed By: joerg

Subscribers: llvm-commits, mgorny, ro, krytarowski

Patch by Fedor Sergeev.

Differential Revision: https://reviews.llvm.org/D3413

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306002 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
include/llvm/Support/Host.h
include/llvm/Support/Solaris/sys/regset.h [moved from include/llvm/Support/Solaris.h with 52% similarity]
include/llvm/module.modulemap