summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test')
-rw-r--r--llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test b/llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test
new file mode 100644
index 00000000000..489afece120
--- /dev/null
+++ b/llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test
@@ -0,0 +1,16 @@
+# REQUIRES: object-emission
+# RUN: llvm-dsymutil -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"
+
OpenPOWER on IntegriCloud