dwarf4-linetable.test
574 Bytes
# 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-4 dwarf4.c -c -o dwarf4.o
---
triple: 'x86_64-apple-darwin'
objects:
- filename: dwarf4.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: 4