mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-07 10:16:55 +00:00
rebase of the patch
This commit is contained in:
parent
077d81d71a
commit
78babccdf0
144
debian/patches/kfreebsd/compiler-rt_lib.diff
vendored
144
debian/patches/kfreebsd/compiler-rt_lib.diff
vendored
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
|
||||||
@@ -83,9 +83,14 @@
|
@@ -83,9 +83,14 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
// <sys/umtx.h> must be included after <errno.h> and <sys/types.h> on
|
// <sys/umtx.h> must be included after <errno.h> and <sys/types.h> on
|
||||||
@ -44,10 +44,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sani
|
|||||||
char *base = (char *)map->l_addr;
|
char *base = (char *)map->l_addr;
|
||||||
Elf_Ehdr *ehdr = (Elf_Ehdr *)base;
|
Elf_Ehdr *ehdr = (Elf_Ehdr *)base;
|
||||||
char *phdrs = base + ehdr->e_phoff;
|
char *phdrs = base + ehdr->e_phoff;
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
|
||||||
@@ -35,10 +35,12 @@
|
@@ -35,10 +35,12 @@
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
|
|
||||||
@ -75,10 +75,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sani
|
|||||||
#define Elf_Phdr XElf32_Phdr
|
#define Elf_Phdr XElf32_Phdr
|
||||||
#define dl_phdr_info xdl_phdr_info
|
#define dl_phdr_info xdl_phdr_info
|
||||||
#define dl_iterate_phdr(c, b) xdl_iterate_phdr((c), (b))
|
#define dl_iterate_phdr(c, b) xdl_iterate_phdr((c), (b))
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
|
||||||
@@ -15,7 +15,7 @@
|
@@ -15,7 +15,7 @@
|
||||||
#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && \
|
#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && \
|
||||||
!defined(__OpenBSD__) && !defined(__APPLE__) && !defined(_WIN32) && \
|
!defined(__OpenBSD__) && !defined(__APPLE__) && !defined(_WIN32) && \
|
||||||
@ -118,10 +118,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sani
|
|||||||
|
|
||||||
#if __LP64__ || defined(_WIN64)
|
#if __LP64__ || defined(_WIN64)
|
||||||
# define SANITIZER_WORDSIZE 64
|
# define SANITIZER_WORDSIZE 64
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/asan/asan_linux.cc
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/asan/asan_linux.cc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/asan/asan_linux.cc
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/asan/asan_linux.cc
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/asan/asan_linux.cc
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/asan/asan_linux.cc
|
||||||
@@ -37,7 +37,7 @@
|
@@ -37,7 +37,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <unwind.h>
|
#include <unwind.h>
|
||||||
@ -152,10 +152,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/asan/asan_linux.cc
|
|||||||
#define ucontext_t xucontext_t
|
#define ucontext_t xucontext_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/ubsan/ubsan_platform.h
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/ubsan/ubsan_platform.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/ubsan/ubsan_platform.h
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/ubsan/ubsan_platform.h
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/ubsan/ubsan_platform.h
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/ubsan/ubsan_platform.h
|
||||||
@@ -14,7 +14,7 @@
|
@@ -14,7 +14,7 @@
|
||||||
|
|
||||||
// Other platforms should be easy to add, and probably work as-is.
|
// Other platforms should be easy to add, and probably work as-is.
|
||||||
@ -165,41 +165,41 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/ubsan/ubsan_platform.
|
|||||||
(defined(__sun__) && defined(__svr4__)) || \
|
(defined(__sun__) && defined(__svr4__)) || \
|
||||||
defined(_WIN32) || defined(__Fuchsia__) || defined(__rtems__)
|
defined(_WIN32) || defined(__Fuchsia__) || defined(__rtems__)
|
||||||
# define CAN_SANITIZE_UB 1
|
# define CAN_SANITIZE_UB 1
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
|
||||||
@@ -197,7 +197,7 @@ ASM_SYMBOL_INTERCEPTOR(setjmp):
|
@@ -192,7 +192,7 @@ ASM_SYMBOL_INTERCEPTOR(setjmp):
|
||||||
|
// obtain SP, store in %rdi, first argument to `void __tsan_setjmp(uptr sp)`
|
||||||
|
#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||||
|
lea 8(%rsp), %rdi
|
||||||
|
-#elif defined(__linux__) || defined(__APPLE__)
|
||||||
|
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
|
||||||
lea 16(%rsp), %rdi
|
lea 16(%rsp), %rdi
|
||||||
mov %rdi, %rsi
|
#else
|
||||||
xorq ___tsan_darwin_setjmp_xor_key(%rip), %rsi
|
# error "Unknown platform"
|
||||||
-#elif defined(__linux__)
|
@@ -233,7 +233,7 @@ ASM_SYMBOL_INTERCEPTOR(_setjmp):
|
||||||
+#elif defined(__linux__) || defined(__FreeBSD_kernel__)
|
// obtain SP, store in %rdi, first argument to `void __tsan_setjmp(uptr sp)`
|
||||||
|
#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||||
|
lea 8(%rsp), %rdi
|
||||||
|
-#elif defined(__linux__) || defined(__APPLE__)
|
||||||
|
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
|
||||||
lea 16(%rsp), %rdi
|
lea 16(%rsp), %rdi
|
||||||
mov %rdi, %rsi
|
#else
|
||||||
xor %fs:0x30, %rsi // magic mangling of rsp (see libc setjmp)
|
# error "Unknown platform"
|
||||||
@@ -246,7 +246,7 @@ ASM_SYMBOL_INTERCEPTOR(_setjmp):
|
@@ -281,7 +281,7 @@ ASM_SYMBOL_INTERCEPTOR(sigsetjmp):
|
||||||
lea 16(%rsp), %rdi
|
// obtain SP, store in %rdi, first argument to `void __tsan_setjmp(uptr sp)`
|
||||||
mov %rdi, %rsi
|
#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||||
xorq ___tsan_darwin_setjmp_xor_key(%rip), %rsi
|
lea 24(%rsp), %rdi
|
||||||
-#elif defined(__linux__)
|
-#elif defined(__linux__) || defined(__APPLE__)
|
||||||
+#elif defined(__linux__) || defined(__FreeBSD_kernel__)
|
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
|
||||||
lea 16(%rsp), %rdi
|
|
||||||
mov %rdi, %rsi
|
|
||||||
xor %fs:0x30, %rsi // magic mangling of rsp (see libc setjmp)
|
|
||||||
@@ -302,7 +302,7 @@ ASM_SYMBOL_INTERCEPTOR(sigsetjmp):
|
|
||||||
lea 32(%rsp), %rdi
|
lea 32(%rsp), %rdi
|
||||||
mov %rdi, %rsi
|
#else
|
||||||
xorq ___tsan_darwin_setjmp_xor_key(%rip), %rsi
|
# error "Unknown platform"
|
||||||
-#elif defined(__linux__)
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerDefs.h
|
||||||
+#elif defined(__linux__) || defined(__FreeBSD_kernel__)
|
|
||||||
lea 32(%rsp), %rdi
|
|
||||||
mov %rdi, %rsi
|
|
||||||
xor %fs:0x30, %rsi // magic mangling of rsp (see libc setjmp)
|
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerDefs.h
|
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/fuzzer/FuzzerDefs.h
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/fuzzer/FuzzerDefs.h
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerDefs.h
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerDefs.h
|
||||||
@@ -27,6 +27,7 @@
|
@@ -27,6 +27,7 @@
|
||||||
#define LIBFUZZER_LINUX 1
|
#define LIBFUZZER_LINUX 1
|
||||||
#define LIBFUZZER_NETBSD 0
|
#define LIBFUZZER_NETBSD 0
|
||||||
@ -233,10 +233,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerDefs.h
|
|||||||
|
|
||||||
#ifdef __x86_64
|
#ifdef __x86_64
|
||||||
# if __has_attribute(target)
|
# if __has_attribute(target)
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
|
||||||
@@ -139,7 +139,7 @@ size_t GetPeakRSSMb() {
|
@@ -139,7 +139,7 @@ size_t GetPeakRSSMb() {
|
||||||
if (getrusage(RUSAGE_SELF, &usage))
|
if (getrusage(RUSAGE_SELF, &usage))
|
||||||
return 0;
|
return 0;
|
||||||
@ -246,10 +246,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerUtilPosi
|
|||||||
// ru_maxrss is in KiB
|
// ru_maxrss is in KiB
|
||||||
return usage.ru_maxrss >> 10;
|
return usage.ru_maxrss >> 10;
|
||||||
} else if (LIBFUZZER_APPLE) {
|
} else if (LIBFUZZER_APPLE) {
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
|
||||||
@@ -11,7 +11,7 @@
|
@@ -11,7 +11,7 @@
|
||||||
#include "FuzzerDefs.h"
|
#include "FuzzerDefs.h"
|
||||||
|
|
||||||
@ -259,10 +259,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerExtraCou
|
|||||||
__attribute__((weak)) extern uint8_t __start___libfuzzer_extra_counters;
|
__attribute__((weak)) extern uint8_t __start___libfuzzer_extra_counters;
|
||||||
__attribute__((weak)) extern uint8_t __stop___libfuzzer_extra_counters;
|
__attribute__((weak)) extern uint8_t __stop___libfuzzer_extra_counters;
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
|
||||||
@@ -13,7 +13,7 @@
|
@@ -13,7 +13,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
#include "FuzzerDefs.h"
|
#include "FuzzerDefs.h"
|
||||||
@ -272,10 +272,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerExtFunct
|
|||||||
|
|
||||||
#include "FuzzerExtFunctions.h"
|
#include "FuzzerExtFunctions.h"
|
||||||
#include "FuzzerIO.h"
|
#include "FuzzerIO.h"
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
|
||||||
@@ -9,7 +9,7 @@
|
@@ -9,7 +9,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
#include "FuzzerDefs.h"
|
#include "FuzzerDefs.h"
|
||||||
@ -285,10 +285,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/fuzzer/FuzzerUtilLinu
|
|||||||
#include "FuzzerCommand.h"
|
#include "FuzzerCommand.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
|
||||||
@@ -20,7 +20,7 @@
|
@@ -20,7 +20,7 @@
|
||||||
// 32-bit mode.
|
// 32-bit mode.
|
||||||
#if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
|
#if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
|
||||||
@ -298,10 +298,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sani
|
|||||||
# include <link.h>
|
# include <link.h>
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
# include <ucontext.h>
|
# include <ucontext.h>
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cc
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cc
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cc
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cc
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cc
|
||||||
@@ -37,7 +37,7 @@
|
@@ -37,7 +37,7 @@
|
||||||
// Fix 'kinfo_vmentry' definition on FreeBSD prior v9.2 in 32-bit mode.
|
// Fix 'kinfo_vmentry' definition on FreeBSD prior v9.2 in 32-bit mode.
|
||||||
#if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
|
#if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
|
||||||
@ -311,10 +311,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sani
|
|||||||
#define kinfo_vmentry xkinfo_vmentry
|
#define kinfo_vmentry xkinfo_vmentry
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||||
@@ -19,7 +19,9 @@
|
@@ -19,7 +19,9 @@
|
||||||
#include "sanitizer_internal_defs.h"
|
#include "sanitizer_internal_defs.h"
|
||||||
#include "sanitizer_platform.h"
|
#include "sanitizer_platform.h"
|
||||||
@ -325,10 +325,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sani
|
|||||||
|
|
||||||
#ifndef __GLIBC_PREREQ
|
#ifndef __GLIBC_PREREQ
|
||||||
#define __GLIBC_PREREQ(x, y) 0
|
#define __GLIBC_PREREQ(x, y) 0
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
|
||||||
@@ -19,7 +19,7 @@
|
@@ -19,7 +19,7 @@
|
||||||
# define SYSCALL(name) __NR_ ## name
|
# define SYSCALL(name) __NR_ ## name
|
||||||
#endif
|
#endif
|
||||||
@ -338,10 +338,10 @@ Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sani
|
|||||||
# define internal_syscall __syscall
|
# define internal_syscall __syscall
|
||||||
# else
|
# else
|
||||||
# define internal_syscall syscall
|
# define internal_syscall syscall
|
||||||
Index: llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
Index: llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_9~svn358740.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
--- llvm-toolchain-snapshot_9~svn364913.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||||
+++ llvm-toolchain-snapshot_9~svn358740/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
+++ llvm-toolchain-snapshot_9~svn364913/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||||
@@ -105,10 +105,14 @@ typedef struct user_fpregs elf_fpregset_
|
@@ -105,10 +105,14 @@ typedef struct user_fpregs elf_fpregset_
|
||||||
#include <wordexp.h>
|
#include <wordexp.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user