Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
llvm4.8721
libsanitizer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsanitizer.patch of Package llvm4.8721
Index: compiler-rt-4.0.1.src/lib/esan/esan_sideline_linux.cpp =================================================================== --- compiler-rt-4.0.1.src/lib/esan/esan_sideline_linux.cpp.orig +++ compiler-rt-4.0.1.src/lib/esan/esan_sideline_linux.cpp @@ -70,7 +70,7 @@ int SidelineThread::runSideline(void *Ar // Set up a signal handler on an alternate stack for safety. InternalScopedBuffer<char> StackMap(SigAltStackSize); - struct sigaltstack SigAltStack; + stack_t SigAltStack; SigAltStack.ss_sp = StackMap.data(); SigAltStack.ss_size = SigAltStackSize; SigAltStack.ss_flags = 0; Index: compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_linux.cc =================================================================== --- compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_linux.cc.orig +++ compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_linux.cc @@ -607,8 +607,8 @@ uptr internal_prctl(int option, uptr arg } #endif -uptr internal_sigaltstack(const struct sigaltstack *ss, - struct sigaltstack *oss) { +uptr internal_sigaltstack(const void *ss, + void *oss) { return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss); } Index: compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_linux.h =================================================================== --- compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_linux.h.orig +++ compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_linux.h @@ -21,7 +21,6 @@ #include "sanitizer_platform_limits_posix.h" struct link_map; // Opaque type returned by dlopen(). -struct sigaltstack; namespace __sanitizer { // Dirent structure for getdents(). Note that this structure is different from @@ -30,8 +29,8 @@ struct linux_dirent; // Syscall wrappers. uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count); -uptr internal_sigaltstack(const struct sigaltstack* ss, - struct sigaltstack* oss); +uptr internal_sigaltstack(const void* ss, + void* oss); uptr internal_sigprocmask(int how, __sanitizer_sigset_t *set, __sanitizer_sigset_t *oldset); Index: compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc =================================================================== --- compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc.orig +++ compiler-rt-4.0.1.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc @@ -275,7 +275,7 @@ static int TracerThread(void* argument) // Alternate stack for signal handling. InternalScopedBuffer<char> handler_stack_memory(kHandlerStackSize); - struct sigaltstack handler_stack; + stack_t handler_stack; internal_memset(&handler_stack, 0, sizeof(handler_stack)); handler_stack.ss_sp = handler_stack_memory.data(); handler_stack.ss_size = kHandlerStackSize; Index: compiler-rt-4.0.1.src/lib/tsan/rtl/tsan_platform_linux.cc =================================================================== --- compiler-rt-4.0.1.src/lib/tsan/rtl/tsan_platform_linux.cc.orig +++ compiler-rt-4.0.1.src/lib/tsan/rtl/tsan_platform_linux.cc @@ -51,7 +51,6 @@ #include <sched.h> #include <dlfcn.h> #if SANITIZER_LINUX -#define __need_res_state #include <resolv.h> #endif @@ -289,7 +288,7 @@ void InitializePlatform() { int ExtractResolvFDs(void *state, int *fds, int nfd) { #if SANITIZER_LINUX && !SANITIZER_ANDROID int cnt = 0; - __res_state *statp = (__res_state*)state; + res_state statp = (res_state)state; for (int i = 0; i < MAXNS && cnt < nfd; i++) { if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1) fds[cnt++] = statp->_u._ext.nssocks[i];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor