From 263056a2c32cae439b0db42dbc07101e4354419e Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 7 Apr 2016 17:15:44 +0000 Subject: [PATCH] llvm: update git patches. --- .../llvm/patches/clang-3.9.0~git.patchset | 24 ++++++++++++------- .../llvm/patches/llvm-3.9.0~git.patchset | 4 ++-- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/sys-devel/llvm/patches/clang-3.9.0~git.patchset b/sys-devel/llvm/patches/clang-3.9.0~git.patchset index 15e961cef..2d38ebf11 100644 --- a/sys-devel/llvm/patches/clang-3.9.0~git.patchset +++ b/sys-devel/llvm/patches/clang-3.9.0~git.patchset @@ -1,4 +1,4 @@ -From 5eb8c8faa1d9dcac9603fd913814414c78fa396a Mon Sep 17 00:00:00 2001 +From 047cd1961c57c4835faf0e6f5a783dd00b67b7fc Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sun, 1 Feb 2015 15:13:57 +0000 Subject: haiku: fix header search paths @@ -88,7 +88,7 @@ index 26bab0d..6066d2b 100644 2.2.2 -From 1c51da209727bcb3e867220a5b7f504991bc2ea3 Mon Sep 17 00:00:00 2001 +From 0f4c75c113485546bea2b16bb7750297dec6e589 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 22 Dec 2015 22:07:06 +0000 Subject: don't include c++ headers in C include search paths. @@ -188,17 +188,17 @@ index 6066d2b..d8f0881 100644 2.2.2 -From 9d98b78a888b3304aa35c74a3856f08c01d08e83 Mon Sep 17 00:00:00 2001 +From 34348a206e9f0cb3c81df6d845db9c1881651994 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 14 Jan 2016 19:19:14 +0000 Subject: add Haiku target info for x86_64 diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp -index 797d052..32023d9 100644 +index 797d052..8f3079d 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp -@@ -365,6 +365,30 @@ public: +@@ -365,6 +365,29 @@ public: : OSTargetInfo(Triple) {} }; @@ -221,7 +221,6 @@ index 797d052..32023d9 100644 + this->PtrDiffType = TargetInfo::SignedLong; + this->ProcessIDType = TargetInfo::SignedLong; + this->TLSSupported = false; -+ this->UserLabelPrefix = ""; + + } +}; @@ -229,7 +228,7 @@ index 797d052..32023d9 100644 // Minix Target template class MinixTargetInfo : public OSTargetInfo { -@@ -3946,20 +3970,15 @@ public: +@@ -3946,20 +3969,15 @@ public: }; // x86-32 Haiku target @@ -254,7 +253,16 @@ index 797d052..32023d9 100644 } }; -@@ -8040,6 +8059,8 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) { +@@ -4719,7 +4737,7 @@ public: + } else if (Feature == "+dsp") { + DSP = 1; + } else if (Feature == "+fp-only-sp") { +- HW_FP_remove |= HW_FP_DP; ++ HW_FP_remove |= HW_FP_DP; + } else if (Feature == "+strict-align") { + Unaligned = 0; + } else if (Feature == "+fp16") { +@@ -8040,6 +8058,8 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) { return new MicrosoftX86_64TargetInfo(Triple); } } diff --git a/sys-devel/llvm/patches/llvm-3.9.0~git.patchset b/sys-devel/llvm/patches/llvm-3.9.0~git.patchset index 0900912d8..fec2223d2 100644 --- a/sys-devel/llvm/patches/llvm-3.9.0~git.patchset +++ b/sys-devel/llvm/patches/llvm-3.9.0~git.patchset @@ -1,4 +1,4 @@ -From 6c8c8cde94c030bc0f7bf7676a9bf54a2f796568 Mon Sep 17 00:00:00 2001 +From 74b6d3f190e884ce14eabeda1b75c4aed053c2fd Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 20 Jan 2016 21:13:28 +0000 Subject: llvm-config: use /develop/headers instead of /include @@ -46,7 +46,7 @@ index 94d426b..2942242 100644 2.2.2 -From 82ccde12b1df252bb78a905a6e0d674c1ab878c8 Mon Sep 17 00:00:00 2001 +From 6132df5a243de6f167b96ceeb5026f7ada20e1a0 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 24 Feb 2016 22:46:03 +0000 Subject: patch cmake build for Haiku.