3 RUN: cat %p/../Inputs/remarks/basic.macho.remarks.x86_64 > %t/basic.macho.remarks.x86_64
5 RUN: dsymutil -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.x86_64
7 Check that the remark file in the bundle exists and is sane:
8 RUN: llvm-bcanalyzer -dump %t/basic.macho.remarks.x86_64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.x86_64 | FileCheck %s
10 RUN: dsymutil --linker llvm -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.x86_64
12 Check that the remark file in the bundle exists and is sane:
13 RUN: llvm-bcanalyzer -dump %t/basic.macho.remarks.x86_64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.x86_64 | FileCheck %s
15 Now emit it in a different format: YAML.
16 RUN: dsymutil -remarks-output-format=yaml -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.x86_64
17 RUN: cat %t/basic.macho.remarks.x86_64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.x86_64 | FileCheck %s --check-prefix=CHECK-YAML
19 RUN: dsymutil --linker llvm -remarks-output-format=yaml -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.x86_64
20 RUN: cat %t/basic.macho.remarks.x86_64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.x86_64 | FileCheck %s --check-prefix=CHECK-YAML
44 CHECK-NOT: <Remark Num
46 CHECK-YAML:--- !Missed
47 CHECK-YAML:--- !Missed
48 CHECK-YAML:--- !Missed
49 CHECK-YAML:--- !Missed
50 CHECK-YAML:--- !Missed
51 CHECK-YAML:--- !Missed
52 CHECK-YAML:--- !Missed
53 CHECK-YAML:--- !Analysis
54 CHECK-YAML:--- !Analysis
55 CHECK-YAML:--- !Analysis
56 CHECK-YAML:--- !Analysis
57 CHECK-YAML:--- !Analysis
58 CHECK-YAML:--- !Analysis
59 CHECK-YAML:--- !Analysis
60 CHECK-YAML:--- !Analysis
61 CHECK-YAML:--- !Analysis
62 CHECK-YAML:--- !Analysis
63 CHECK-YAML:--- !Analysis
64 CHECK-YAML:--- !Analysis
65 CHECK-YAML:--- !Analysis
66 CHECK-YAML:--- !Analysis