llvm-for-llvmta/test/tools/dsymutil/X86/dwarf5-linetable.test

24 lines
574 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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