[asan][test] Handle Solaris in large_func_test.cpp etc.
authorRainer Orth <ro@gcc.gnu.org>
Sat, 6 Mar 2021 00:28:17 +0000 (01:28 +0100)
committerRainer Orth <ro@gcc.gnu.org>
Sat, 6 Mar 2021 00:28:17 +0000 (01:28 +0100)
commitab8a46024157b4d042ea6325710bbccd598adcfc
tree6d7e0a12827088e08ec9fbfcecfbf5b0c453553d
parentc20db7ea6a0b4dcb8cf4a2a0e023ee6be1f4c485
[asan][test] Handle Solaris in large_func_test.cpp etc.

Two ASan tests currently `FAIL' on Solaris

  AddressSanitizer-i386-sunos :: TestCases/large_func_test.cpp
  AddressSanitizer-i386-sunos :: TestCases/use-after-delete.cpp

both for the same reason:

  error: no check strings found with prefix 'CHECK-SunOS:'

Fixed by adding the appropriate check strings.

Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.

Differential Revision: https://reviews.llvm.org/D97931
compiler-rt/test/asan/TestCases/large_func_test.cpp
compiler-rt/test/asan/TestCases/use-after-delete.cpp