[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / test / tools / llvm-objdump / MachO / info-plist.test
bloba3390568a5128a072fcb2bd97c7c72b6ee718bc7
1 # RUN: llvm-mc %s --triple x86_64-apple-darwin -filetype=obj -o %t.o
2 # RUN: llvm-objdump --macho --info-plist %t.o | FileCheck %s
3 # RUN: llvm-otool -P %t.o | FileCheck %s
4 # RUN: llvm-objdump --macho --info-plist --no-leading-headers %t.o | FileCheck --check-prefix=NOHEADER %s
5 # RUN: llvm-otool -PX %t.o | FileCheck --check-prefix=NOHEADER %s
7 .section __TEXT, __info_plist
8 .asciz "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
10 # CHECK: Contents of (__TEXT,__info_plist) section
11 # CHECK: <?xml version="1.0" encoding="UTF-8"?>
13 # NOHEADER-NOT: Contents of (__TEXT,__info_plist) section
14 # NOHEADER: <?xml version="1.0" encoding="UTF-8"?>