summaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/dwarfdump-pubnames.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/DebugInfo/dwarfdump-pubnames.test')
-rw-r--r--test/DebugInfo/dwarfdump-pubnames.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/DebugInfo/dwarfdump-pubnames.test b/test/DebugInfo/dwarfdump-pubnames.test
new file mode 100644
index 0000000..e1b16c2
--- /dev/null
+++ b/test/DebugInfo/dwarfdump-pubnames.test
@@ -0,0 +1,16 @@
+RUN: llvm-dwarfdump %p/Inputs/dwarfdump-pubnames.elf-x86-64 \
+RUN: -debug-dump=pubnames | FileCheck %s
+
+CHECK: .debug_pubnames contents:
+CHECK: Length: 161
+CHECK: Version: 2
+CHECK: Offset in .debug_info: 0
+CHECK: Size: 321
+
+CHECK: Offset Name
+CHECK: 98 global_namespace_variable
+CHECK: a7 global_namespace_function
+CHECK: ec static_member_function
+CHECK: 7c global_variable
+CHECK: 103 global_function
+CHECK: c2 member_function
OpenPOWER on IntegriCloud