| 1 |
REQUIRES: system-darwin |
| 2 |
|
| 3 |
RUN: rm -rf %t |
| 4 |
RUN: mkdir -p %t |
| 5 |
RUN: cat %p/../Inputs/remarks/fat.macho.remarks.x86 > %t/fat.macho.remarks.x86 |
| 6 |
|
| 7 |
RUN: dsymutil -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/fat.macho.remarks.x86 |
| 8 |
|
| 9 |
Check that the remark files in the bundle exist and are all sane: |
| 10 |
RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remarks.x86-x86_64h | FileCheck %s |
| 11 |
RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remarks.x86-x86_64 | FileCheck %s |
| 12 |
RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remarks.x86-i386 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-i386 |
| 13 |
|
| 14 |
RUN: dsymutil --linker parallel -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/fat.macho.remarks.x86 |
| 15 |
|
| 16 |
Check that the remark files in the bundle exist and are all sane: |
| 17 |
RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remarks.x86-x86_64h | FileCheck %s |
| 18 |
RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remarks.x86-x86_64 | FileCheck %s |
| 19 |
RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remarks.x86-i386 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-i386 |
| 20 |
|
| 21 |
CHECK: <Meta |
| 22 |
CHECK: <Remark Num |
| 23 |
CHECK: <Remark Num |
| 24 |
CHECK-i386: <Remark Num |
| 25 |
CHECK-NOT: <Remark Num |