1 RUN: mkdir -p %t.d 2 RUN: %clang_profgen -fprofile-instr-generate %S/../Inputs/instrprof-file_ex.c -o %t 3 RUN: rm -f %t.d/run.dump 4 RUN: %run %t %t.d/run.dump 5 RUN: sort %t.d/run.dump | FileCheck %s 6 7 CHECK: Dump from Child 0 8 CHECK-NEXT: Dump from Child 1 9 CHECK-NEXT: Dump from Child 2 10 CHECK-NEXT: Dump from Child 3 11 CHECK-NEXT: Dump from Child 4 12 CHECK-NEXT: Dump from Child 5 13 CHECK-NEXT: Dump from Child 6 14 CHECK-NEXT: Dump from Child 7 15 CHECK-NEXT: Dump from Child 8 16 CHECK-NEXT: Dump from Child 9 17 CHECK-NEXT: Dump from parent 10 18