[compiler-rt] b638b63 - Move internal_uname to #if SANITIZER_LINUX scope.
Martin Liska via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 12:06:25 PDT 2020
Author: Martin Liska
Date: 2020-06-01T21:04:51+02:00
New Revision: b638b63b99d66786cb37336292604a2ae3490cfd
URL: https://github.com/llvm/llvm-project/commit/b638b63b99d66786cb37336292604a2ae3490cfd
DIFF: https://github.com/llvm/llvm-project/commit/b638b63b99d66786cb37336292604a2ae3490cfd.diff
LOG: Move internal_uname to #if SANITIZER_LINUX scope.
Remove it from target-specific scope which corresponds
to sanitizer_linux.cpp where it lives in the same macro
scope.
Differential Revision: https://reviews.llvm.org/D80864
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_linux.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
index 25a7e0b79bab..c162d1ca5d28 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
@@ -65,8 +65,8 @@ void internal_sigdelset(__sanitizer_sigset_t *set, int signum);
|| defined(__arm__)
uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg,
int *parent_tidptr, void *newtls, int *child_tidptr);
-int internal_uname(struct utsname *buf);
#endif
+int internal_uname(struct utsname *buf);
#elif SANITIZER_FREEBSD
void internal_sigdelset(__sanitizer_sigset_t *set, int signum);
#elif SANITIZER_NETBSD
More information about the llvm-commits
mailing list