1 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t
2 # RUN: llvm-readobj -S --symbols --sd --cg-profile %t | FileCheck %s
8 .cg_profile freq, a, 11
9 .cg_profile late, late2, 20
10 .cg_profile L.local, b, 42
19 # CHECK: Name: __cg_profile
20 # CHECK-NEXT: Segment: __LLVM
21 # CHECK-NEXT: Address:
22 # CHECK-NEXT: Size: 0x30
23 # CHECK: SectionData (
24 # CHECK-NEXT: 0000: 00000000 04000000 20000000 00000000
25 # CHECK-NEXT: 0010: 05000000 00000000 0B000000 00000000
26 # CHECK-NEXT: 0020: 03000000 01000000 14000000 00000000
30 # CHECK-NEXT: CGProfileEntry {
31 # CHECK-NEXT: From: a (0)
32 # CHECK-NEXT: To: b (4)
33 # CHECK-NEXT: Weight: 32
35 # CHECK-NEXT: CGProfileEntry {
36 # CHECK-NEXT: From: freq (5)
37 # CHECK-NEXT: To: a (0)
38 # CHECK-NEXT: Weight: 11
40 # CHECK-NEXT: CGProfileEntry {
41 # CHECK-NEXT: From: late (3)
42 # CHECK-NEXT: To: late2 (1)
43 # CHECK-NEXT: Weight: 20