brintos

brintos / llvm-project-archived public Read only

0
0
Text · 468 B · 8c5ad1e Raw
15 lines · cpp
1// Check print_module_map option.2 3// RUN: %clangxx_memprof -O0 %s -o %t4// RUN: %env_memprof_opts=print_text=true:log_path=stderr:print_module_map=1 %run %t 2>&1 | FileCheck %s5// RUN: %env_memprof_opts=print_text=true:log_path=stderr:print_module_map=0 %run %t 2>&1 | FileCheck %s --check-prefix=NOMAP6 7// CHECK: Process memory map follows:8// CHECK: dump_process_map.cpp.tmp9// CHECK: End of process memory map.10// NOMAP-NOT: memory map11 12int main() {13  return 0;14}15