Skip to content

Commit 81ff4d6

Browse files
committed
[sanitizer_common][test] Fix huge_malloc.c UNSUPPORTED syntax
`lit` doesn't accept arbitrary substrings of the target triple any longer, so d5a779b <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`. Differential Revision: https://reviews.llvm.org/D154298
1 parent d0e2930 commit 81ff4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// UNSUPPORTED: hwasan
1414

1515
// FIXME: Something wrong with MADV_FREE or MAP_NORESERVE there.
16-
// UNSUPPORTED: solaris
16+
// UNSUPPORTED: target={{.*solaris.*}}
1717

1818
void *p;
1919

0 commit comments

Comments
 (0)