[PATCH] D109403: Few bug fixes in HexagonVectorCombine

Ankit via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 13 12:41:44 PDT 2021


quic_aankit updated this revision to Diff 372324.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109403/new/

https://reviews.llvm.org/D109403

Files:
  compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
  compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
  compiler-rt/test/sanitizer_common/TestCases/NetBSD/getgrouplist.cpp


Index: compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
===================================================================
--- compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
+++ compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
@@ -1,4 +1,6 @@
 // RUN: %clangxx -O0 -g %s -o %t && %run %t
+//
+// REQUIRES: linux, freebsd, netbsd
 
 #include <stdlib.h>
 #include <unistd.h>
Index: compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -498,7 +498,8 @@
 #define SANITIZER_INTERCEPT_GID_FROM_GROUP SI_NETBSD
 #define SANITIZER_INTERCEPT_ACCESS (SI_NETBSD || SI_FREEBSD)
 #define SANITIZER_INTERCEPT_FACCESSAT (SI_NETBSD || SI_FREEBSD)
-#define SANITIZER_INTERCEPT_GETGROUPLIST SI_NETBSD
+#define SANITIZER_INTERCEPT_GETGROUPLIST \
+  (SI_NETBSD || SI_FREEBSD || SI_LINUX)
 #define SANITIZER_INTERCEPT_STRLCPY \
   (SI_NETBSD || SI_FREEBSD || SI_MAC || SI_ANDROID)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109403.372324.patch
Type: text/x-patch
Size: 1146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210913/084e00e2/attachment.bin>


More information about the llvm-commits mailing list