forked from OSchip/llvm-project
[sanitizer] Fix Android tests
On Android some fields can be null llvm-svn: 353377
This commit is contained in:
parent
55a2fbe234
commit
c41835230a
|
@ -14,6 +14,8 @@ std::string any_group;
|
|||
const int N = 123456;
|
||||
|
||||
void Check(const char *str) {
|
||||
if (!str)
|
||||
return;
|
||||
assert(strlen(str) != N);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue