Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / memprof / TestCases / dump_process_map.cpp
blob8c5ad1e63492a7e9b683aede4c1f5290621dda5d
1 // Check print_module_map option.
3 // RUN: %clangxx_memprof -O0 %s -o %t
4 // RUN: %env_memprof_opts=print_text=true:log_path=stderr:print_module_map=1 %run %t 2>&1 | FileCheck %s
5 // RUN: %env_memprof_opts=print_text=true:log_path=stderr:print_module_map=0 %run %t 2>&1 | FileCheck %s --check-prefix=NOMAP
7 // CHECK: Process memory map follows:
8 // CHECK: dump_process_map.cpp.tmp
9 // CHECK: End of process memory map.
10 // NOMAP-NOT: memory map
12 int main() {
13 return 0;