[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / test / tools / dsymutil / X86 / remarks-linking-fat-bundle.test
blobc0b4beffee4fee3774bdb6ea30859d4fc871283e
1 REQUIRES: system-darwin
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
7 RUN: dsymutil -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/fat.macho.remarks.x86
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
14 CHECK: <Meta
15 CHECK: <Remark Num
16 CHECK: <Remark Num
17 CHECK-i386: <Remark Num
18 CHECK-NOT: <Remark Num