1 // RUN: %clangxx_memprof %s -o %t-default
2 // RUN: %run %t-default | FileCheck %s --check-prefix=DEFAULT
4 // RUN: %clangxx_memprof %s -mllvm -memprof-runtime-default-options="print_text=true,log_path=stdout,atexit=false" -o %t
5 // RUN: %run %t | FileCheck %s
7 #include <sanitizer/memprof_interface.h>
11 printf("Options: \"%s\"\n", __memprof_default_options());
15 // DEFAULT: Options: ""
16 // CHECK: Options: "print_text=true,log_path=stdout,atexit=false"