1 ; RUN: llvm-profgen --format=text --perfscript=%S/Inputs/external-address.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --output=%t --skip-symbolization --profile-summary-hot-count=0 --compress-recursion=0
2 ; RUN: FileCheck %s --input-file %t --check-prefix=CHECK-UNWINDER
5 ; CHECK-UNWINDER: [main:1 @ foo]
7 ; CHECK-UNWINDER: 670-6ad:4
8 ; CHECK-UNWINDER: 6bd-6c8:4
10 ; CHECK-UNWINDER: 69b->670:5
11 ; CHECK-UNWINDER: 6c8->67e:1
12 ; CHECK-UNWINDER: [main:1 @ foo:3.1 @ bar]
14 ; CHECK-UNWINDER: 6af-6bb:4
17 ; Manually created to test if remaining call stack can be correctly unwinded.
18 ; CHECK-UNWINDER: [main:1 @ foo:4 @ main:1 @ foo]
20 ; CHECK-UNWINDER: 670-6ad:1
21 ; CHECK-UNWINDER: 6bd-6c8:1
23 ; CHECK-UNWINDER: 69b->670:1
24 ; CHECK-UNWINDER: 6c8->67e:1
25 ; CHECK-UNWINDER: [main:1 @ foo:4 @ main:1 @ foo:3.1 @ bar]
27 ; CHECK-UNWINDER: 6af-6bb:1