diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2020-11-20 14:06:25 +0100 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2020-11-20 14:06:25 +0100 |
commit | 03d593dd7e6de269381ac71d0269a207f4dd1eeb (patch) | |
tree | f5e77ef3fb2e5cd07926f75ebda102b44b24dd10 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | a89e55ca572ee25f6e6104d76a7dcbd6f07ebbe3 (diff) | |
download | llvm-03d593dd7e6de269381ac71d0269a207f4dd1eeb.zip llvm-03d593dd7e6de269381ac71d0269a207f4dd1eeb.tar.gz llvm-03d593dd7e6de269381ac71d0269a207f4dd1eeb.tar.bz2 |
[sanitizers][test] Test sanitizer_common and ubsan_minimal on Solaris
During the initial Solaris sanitizer port, I missed to enable the
`sanitizer_common` and `ubsan_minimal` testsuites. This patch fixes this,
correcting a few unportabilities:
- `Posix/getpass.cpp` failed to link since Solaris lacks `libutil`.
Omitting the library lets the test `PASS`, but I thought adding `%libutil`
along the lines of `%librt` to be overkill.
- One subtest of `Posix/getpw_getgr.cpp` is disabled because Solaris
`getpwent_r` has a different signature than expected.
- `/dev/null` is a symlink on Solaris.
- XPG7 specifies that `uname` returns a non-negative value on success.
Tested on `amd64-pc-solaris2.11` and `sparcv9-sun-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D91606
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions