diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2013-02-14 16:10:58 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2013-02-14 16:10:58 +0000 |
commit | 51f6ba0998cf5f9c9389e63fba0b58882a4ed0c5 (patch) | |
tree | d0305806be6e2ec18b118b733e2476f634a61101 /test/DebugInfo/dwarfdump-pubnames.test | |
parent | 579ad50f511d663f3d2797af2ad8c7218ee89606 (diff) | |
download | external_llvm-51f6ba0998cf5f9c9389e63fba0b58882a4ed0c5.zip external_llvm-51f6ba0998cf5f9c9389e63fba0b58882a4ed0c5.tar.gz external_llvm-51f6ba0998cf5f9c9389e63fba0b58882a4ed0c5.tar.bz2 |
Add testcase for llvm-dwarfdump to test parsing of the pubnames data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/dwarfdump-pubnames.test')
-rw-r--r-- | test/DebugInfo/dwarfdump-pubnames.test | 16 |
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 |