llvm-for-llvmta/test/tools/dsymutil/X86/label.test

17 lines
421 B
Plaintext
Raw Permalink Normal View History

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