# REQUIRES: object-emission
# RUN: llvm-dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - | llvm-dwarfdump -debug-dump=info - | FileCheck %s

---
triple:          'x86_64-apple-darwin'
objects:
  - filename: fat-test.o
    symbols:
      - { sym: _x86_64_var, objAddr: 0x0, binAddr: 0x1000, size: 0x4 }
...

# CHECK: .debug_info contents:
# CHECK: DW_TAG_variable
# CHECK-NOT: {{DW_TAG|NULL}}
# CHECK:  DW_AT_name{{.*}}"x86_64_var"