[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / dsymutil / archive-timestamp.test
blobf8575442b31ac735c45267c09046266b23e9252c
1 # RUN: dsymutil -no-output -oso-prepend-path=%p -y %s 2>&1 | FileCheck %s
3 # This is the archive member part of basic-archive.macho.x86_64 debug map with corrupted timestamps.
5 # CHECK: warning: {{.*}}libbasic.a(basic2.macho.x86_64.o): {{[Nn]o}} such file
6 # CHECK: warning: {{.*}}libbasic.a(basic3.macho.x86_64.o): {{[Nn]o}} such file
8 ---
9 triple:          'x86_64-apple-darwin'
10 objects:
11   - filename:        '/Inputs/libbasic.a(basic2.macho.x86_64.o)'
12     timestamp:       141869239
13     symbols:
14       - { sym: _foo, objAddr: 0x0000000000000020, binAddr: 0x0000000100000ED0, size: 0x00000050 }
15       - { sym: _private_int, objAddr: 0x0000000000000560, binAddr: 0x0000000100001004, size: 0x00000000 }
16       - { sym: _inc, objAddr: 0x0000000000000070, binAddr: 0x0000000100000F20, size: 0x00000017 }
17       - { sym: _baz, objAddr: 0x0000000000000310, binAddr: 0x0000000100001000, size: 0x00000000 }
18   - filename:        '/Inputs/libbasic.a(basic3.macho.x86_64.o)'
19     timestamp:       418692393
20     symbols:
21       - { sym: _val, objAddr: 0x0000000000000004, binAddr: 0x0000000100001008, size: 0x00000000 }
22       - { sym: _bar, objAddr: 0x0000000000000020, binAddr: 0x0000000100000F40, size: 0x00000050 }
23       - { sym: _inc, objAddr: 0x0000000000000070, binAddr: 0x0000000100000F90, size: 0x00000019 }
24 ...