[PATCH] D154298: [sanitizer_common][test] Fix huge_malloc.c UNSUPPORTED syntax

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 2 04:25:05 PDT 2023


ro created this revision.
ro added a reviewer: vitalybuka.
ro added a project: Sanitizers.
Herald added subscribers: Enna1, fedor.sergeev.
Herald added a project: All.
ro requested review of this revision.
Herald added a subscriber: Sanitizers.

`lit` doesn't accept arbitrary substrings of the target triple any longer, so d5a779b5a39b655ed9fafedaacbb017c46f5dbfe <https://reviews.llvm.org/rGd5a779b5a39b655ed9fafedaacbb017c46f5dbfe> has no effect.

Instead, this patch uses the `target=` syntax as all other tests in `compiler-rt`.

Tested on `amd64-pc-solaris2.11`.

Will commit shortly to unbreak the Solaris/amd64 buildbot.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154298

Files:
  compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c


Index: compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c
===================================================================
--- compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c
+++ compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c
@@ -13,7 +13,7 @@
 // UNSUPPORTED: hwasan
 
 // FIXME: Something wrong with MADV_FREE or MAP_NORESERVE there.
-// UNSUPPORTED: solaris
+// UNSUPPORTED: target={{.*solaris.*}}
 
 void *p;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154298.536579.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230702/43d644c7/attachment.bin>


More information about the llvm-commits mailing list