1RUN: rm -rf %t 2RUN: mkdir -p %t 3RUN: cat %p/../Inputs/remarks/basic.macho.remarks.x86_64 > %t/basic.macho.remarks.x86_64 4 5RUN: dsymutil -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.x86_64 6 7Check that the remark file in the bundle exists and is sane: 8RUN: llvm-bcanalyzer -dump %t/basic.macho.remarks.x86_64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.x86_64 | FileCheck %s 9 10Now emit it in a different format: YAML. 11RUN: dsymutil -remarks-output-format=yaml -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.x86_64 12RUN: cat %t/basic.macho.remarks.x86_64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.x86_64 | FileCheck %s --check-prefix=CHECK-YAML 13 14CHECK: <Meta 15CHECK: <Remark Num 16CHECK: <Remark Num 17CHECK: <Remark Num 18CHECK: <Remark Num 19CHECK: <Remark Num 20CHECK: <Remark Num 21CHECK: <Remark Num 22CHECK: <Remark Num 23CHECK: <Remark Num 24CHECK: <Remark Num 25CHECK: <Remark Num 26CHECK: <Remark Num 27CHECK: <Remark Num 28CHECK: <Remark Num 29CHECK: <Remark Num 30CHECK: <Remark Num 31CHECK: <Remark Num 32CHECK: <Remark Num 33CHECK: <Remark Num 34CHECK: <Remark Num 35CHECK: <Remark Num 36CHECK-NOT: <Remark Num 37 38CHECK-YAML:--- !Missed 39CHECK-YAML:--- !Missed 40CHECK-YAML:--- !Missed 41CHECK-YAML:--- !Missed 42CHECK-YAML:--- !Missed 43CHECK-YAML:--- !Missed 44CHECK-YAML:--- !Missed 45CHECK-YAML:--- !Analysis 46CHECK-YAML:--- !Analysis 47CHECK-YAML:--- !Analysis 48CHECK-YAML:--- !Analysis 49CHECK-YAML:--- !Analysis 50CHECK-YAML:--- !Analysis 51CHECK-YAML:--- !Analysis 52CHECK-YAML:--- !Analysis 53CHECK-YAML:--- !Analysis 54CHECK-YAML:--- !Analysis 55CHECK-YAML:--- !Analysis 56CHECK-YAML:--- !Analysis 57CHECK-YAML:--- !Analysis 58CHECK-YAML:--- !Analysis 59CHECK-NOT: --- ! 60