Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / dsymutil / X86 / remarks-linking-bundle.test
blob3fb7fd59d44bc13989886c146f5cb00ae5f83214
1 RUN: rm -rf %t
2 RUN: mkdir -p %t
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
22 CHECK: <Meta
23 CHECK: <Remark Num
24 CHECK: <Remark Num
25 CHECK: <Remark Num
26 CHECK: <Remark Num
27 CHECK: <Remark Num
28 CHECK: <Remark Num
29 CHECK: <Remark Num
30 CHECK: <Remark Num
31 CHECK: <Remark Num
32 CHECK: <Remark Num
33 CHECK: <Remark Num
34 CHECK: <Remark Num
35 CHECK: <Remark Num
36 CHECK: <Remark Num
37 CHECK: <Remark Num
38 CHECK: <Remark Num
39 CHECK: <Remark Num
40 CHECK: <Remark Num
41 CHECK: <Remark Num
42 CHECK: <Remark Num
43 CHECK: <Remark Num
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
67 CHECK-NOT: --- !