diff options
Diffstat (limited to 'test/asan')
-rw-r--r-- | test/asan/TestCases/Posix/no-fd.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/asan/TestCases/Posix/no-fd.cc b/test/asan/TestCases/Posix/no-fd.cc index 1c94545c7..b0441e925 100644 --- a/test/asan/TestCases/Posix/no-fd.cc +++ b/test/asan/TestCases/Posix/no-fd.cc @@ -9,6 +9,10 @@ #include <stdlib.h> #include <unistd.h> +extern "C" const char *__asan_default_options() { + return "test_only_emulate_no_memorymap=1"; +} + void parent(int argc, char **argv) { fprintf(stderr, "hello\n"); // CHECK: hello |