Rainer Orth
15c9af5618
[asan][test] Disable malloc-no-intercept.c on Solaris
...
`TestCases/malloc-no-intercept.c` `FAIL`s on Solaris/x86, e.g. with
`-Dtestfunc=mallinfo`:
/usr/bin/ld: /tmp/malloc-no-intercept-586529.o: in function `main':
/vol/llvm/src/llvm-project/dist/compiler-rt/test/asan/TestCases/malloc-no-intercept.c:30: undefined reference to `nonexistent_function'
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
This is not surprising, actually:
- `mallinfo` and `mallopt` only exist in `libmalloc`
- `pvalloc` doesn't exist all all
- `cfree` does exist in `libc`, but isn't declared in any public header and
the OpenSolaris sources reveal that it has a different signature than on
Linux
- only `memalign` is a public interface
To avoid this, this patch disables the interceptors for all but `meminfo`.
Additionally, the test is marked `UNSUPPORTED` on Solaris since the
`memalign` and `cfree` variants **do** link on Solaris.
Tested on `amd64-pc-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D87898
2020-09-24 11:58:25 +02:00
..
2019-06-27 20:56:04 +00:00
2020-09-04 15:49:11 -07:00
2019-08-05 16:48:12 +00:00
2020-09-18 16:46:20 -07:00
2020-08-25 12:20:33 +01:00
2020-05-27 02:37:30 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-09-11 23:19:48 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-11-15 14:23:11 -05:00
2019-08-05 16:48:12 +00:00
2020-09-10 19:59:43 -07:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-05-27 02:37:30 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-11-08 14:28:32 -08:00
2019-09-11 21:33:06 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-08-03 10:51:35 +01:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-08-20 16:40:32 -07:00
2019-09-11 21:33:06 +00:00
2019-08-05 16:48:12 +00:00
2019-09-21 07:43:55 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-10-17 17:59:11 +00:00
2019-08-05 16:48:12 +00:00
2020-09-11 16:40:18 -07:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-09-16 00:34:43 -07:00
2020-09-08 13:58:34 -07:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-09-24 11:58:25 +02:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-09-12 02:20:36 +00:00
2020-03-09 16:09:28 -07:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-09-18 13:45:55 -07:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-07-26 11:37:47 +01:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-09-08 16:15:18 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-09-11 23:19:48 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-06-05 09:03:38 -07:00
2019-09-11 23:19:48 +00:00
2020-05-27 14:05:02 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2020-05-27 14:05:02 +00:00
2020-05-27 14:05:02 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-08-05 16:48:12 +00:00
2019-09-11 23:19:48 +00:00
2019-08-05 16:48:12 +00:00
2019-09-11 23:19:48 +00:00
2019-08-05 16:48:12 +00:00