You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
436 B
15 lines
436 B
// Check print_module_map option.
|
|
|
|
// RUN: %clangxx_memprof -O0 %s -o %t
|
|
// RUN: %env_memprof_opts=log_path=stderr:print_module_map=1 %run %t 2>&1 | FileCheck %s
|
|
// RUN: %env_memprof_opts=log_path=stderr:print_module_map=0 %run %t 2>&1 | FileCheck %s --check-prefix=NOMAP
|
|
|
|
// CHECK: Process memory map follows:
|
|
// CHECK: dump_process_map.cpp.tmp
|
|
// CHECK: End of process memory map.
|
|
// NOMAP-NOT: memory map
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|