summaryrefslogtreecommitdiffstats
path: root/compiler-rt-sanitizer.patch
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2019-10-30 14:43:51 -0500
committerRon Olson <tachoknight@gmail.com>2019-10-30 14:43:51 -0500
commit5d5f3e90bbcb960eebe780780d69571d72f933e9 (patch)
tree86715ccfde3a2093be6fc78bfa91f746b1f35dc3 /compiler-rt-sanitizer.patch
parent182b2bb16ed7b6ba858b343f5c8a37bc946938b9 (diff)
downloadswift-lang-swift-5.1.tar.gz
swift-lang-swift-5.1.tar.xz
swift-lang-swift-5.1.zip
Added patch for clang 9; removed old, unnecessary patch filesswift-5.1
Diffstat (limited to 'compiler-rt-sanitizer.patch')
-rw-r--r--compiler-rt-sanitizer.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler-rt-sanitizer.patch b/compiler-rt-sanitizer.patch
new file mode 100644
index 0000000..bf8df64
--- /dev/null
+++ b/compiler-rt-sanitizer.patch
@@ -0,0 +1,11 @@
+--- compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc.orig 2019-10-30 12:10:54.591060832 -0500
++++ compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc 2019-10-30 12:11:56.483063580 -0500
+@@ -1131,7 +1131,7 @@
+ CHECK_SIZE_AND_OFFSET(ipc_perm, cgid);
+ #if !defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21)
+ /* On aarch64 glibc 2.20 and earlier provided incorrect mode field. */
+-CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
++/* CHECK_SIZE_AND_OFFSET(ipc_perm, mode); */ /* Error with clang 9.0.0 */
+ #endif
+
+ CHECK_TYPE_SIZE(shmid_ds);