This is a very poorly named feature. I think originally it meant to cover linux only, but the use of it in msan seems to be about any aarch64 platform. Anyway, this change should be NFC on everything except Android. llvm-svn: 315389
14 lines
285 B
C++
14 lines
285 B
C++
// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
|
|
// UNSUPPORTED: aarch64-target-arch
|
|
|
|
#include <assert.h>
|
|
#include <malloc.h>
|
|
|
|
#include <sanitizer/msan_interface.h>
|
|
|
|
int main(void) {
|
|
struct mallinfo mi = mallinfo();
|
|
assert(__msan_test_shadow(&mi, sizeof(mi)) == -1);
|
|
return 0;
|
|
}
|