| 1 |
# RUN: dsymutil -oso-prepend-path %p/../Inputs -y %s -f -o - | llvm-dwarfdump - --debug-line | FileCheck %s |
| 2 |
# |
| 3 |
# RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs -y %s -f -o - | llvm-dwarfdump - --debug-line | FileCheck %s |
| 4 |
|
| 5 |
# This test runs dsymutil on an object file with non-standard (as far |
| 6 |
# as llvm is concerned) line table settings. |
| 7 |
|
| 8 |
--- |
| 9 |
triple: 'x86_64-apple-darwin' |
| 10 |
objects: |
| 11 |
- filename: basic2-custom-linetable.macho.x86_64.o |
| 12 |
symbols: |
| 13 |
- { sym: _foo, objAddr: 0x0, binAddr: 0x1000, size: 0x12 } |
| 14 |
|
| 15 |
# CHECK: 0x0000000000001000 19 0 {{.*}} is_stmt |
| 16 |
# CHECK: 0x0000000000001012 20 14 {{.*}} is_stmt prologue_end |
| 17 |
# CHECK: 0x0000000000001015 20 18 {{.*}} |
| 18 |
# CHECK: 0x0000000000001017 20 17 {{.*}} |
| 19 |
# CHECK: 0x0000000000001019 20 10 {{.*}} |
| 20 |
# CHECK: 0x000000000000101e 20 25 {{.*}} |
| 21 |
# CHECK: 0x0000000000001026 20 23 {{.*}} |
| 22 |
# CHECK: 0x000000000000102b 20 36 {{.*}} |
| 23 |
# CHECK: 0x000000000000103c 20 31 {{.*}} |
| 24 |
# CHECK: 0x000000000000103e 20 3 {{.*}} |
| 25 |
# CHECK: 0x0000000000001046 20 3 {{.*}} end_sequence |
| 26 |
|
| 27 |
- { sym: _inc, objAddr: 0x0, binAddr: 0x2000, size: 0x12 } |
| 28 |
|
| 29 |
# CHECK: 0x0000000000002000 14 0 {{.*}} is_stmt |
| 30 |
# CHECK: 0x0000000000002004 15 10 {{.*}} is_stmt prologue_end |
| 31 |
# CHECK: 0x0000000000002013 15 3 {{.*}} |
| 32 |
# CHECK: 0x0000000000002015 15 3 {{.*}} end_sequence |
| 33 |
|
| 34 |
- { sym: _unused1, objAddr: 0x0, binAddr: 0x3000, size: 0x12 } |
| 35 |
|
| 36 |
# CHECK: 0x0000000000003000 10 0 {{.*}} is_stmt |
| 37 |
# CHECK: 0x0000000000003004 11 7 {{.*}} is_stmt prologue_end |
| 38 |
# CHECK: 0x000000000000300e 11 3 {{.*}} |
| 39 |
# CHECK: 0x0000000000003013 12 1 {{.*}} is_stmt |
| 40 |
# CHECK: 0x000000000000301c 12 1 {{.*}} is_stmt end_sequence |
| 41 |
... |
| 42 |
|