summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/dsymutil/X86/dwarf5-linetable.test
blob: c4ee8bd4e1d1d072e99d1f6dffc04a1f58390650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# RUN: dsymutil -f -oso-prepend-path=%p/../Inputs/ -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s

# Source:
#   int main() {
#     return 0;
#   }
# Compile with:
#   clang -gdwarf-5 dwarf5.c -c -o dwarf5.o

---
triple:          'x86_64-apple-darwin'
objects:
  - filename:        dwarf5.o
    timestamp:       1513021112
    symbols:
      - { sym: _main, objAddr: 0x0000000000000000, binAddr: 0x0000000100000FA0, size: 0x0000000F }
...

# CHECK: .debug_line contents:
# CHECK: debug_line
# CHECK: Line table prologue:
# CHECK: total_length:
# CHECK: version: 5
OpenPOWER on IntegriCloud