label.test
421 Bytes
# RUN: dsymutil -oso-prepend-path %p/../Inputs -y %s -f -o - | llvm-dwarfdump - --debug-info | FileCheck %s
# Compile with:
# echo -e ".global _foo;\nfoo:\nnop" | clang -x assembler -g - -c -o /tmp/label.o
# CHECK: DW_TAG_label
# CHECK-NEXT: DW_AT_name ("foo")
---
triple: 'x86_64-apple-darwin'
objects:
- filename: label.o
symbols:
- { sym: _foo, objAddr: 0x0, binAddr: 0x1000, size: 0x1 }
...