diff options
| author | Adrian Prantl <aprantl@apple.com> | 2017-09-16 16:58:18 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2017-09-16 16:58:18 +0000 |
| commit | 099d7e452a68ca43de6231ff8b19f14b84ce61ca (patch) | |
| tree | efc41754ffc0c4769dc3e9d86d7359dc5c9e1846 /llvm/test | |
| parent | 19a0a3ab685ddb8266df71557902cce870f10145 (diff) | |
| download | bcm5719-llvm-099d7e452a68ca43de6231ff8b19f14b84ce61ca.tar.gz bcm5719-llvm-099d7e452a68ca43de6231ff8b19f14b84ce61ca.zip | |
llvm-dwarfdump: Add support for -debug-types=<offset>.
llvm-svn: 313463
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/llvm-dwarfdump/X86/debug_type_offset.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-dwarfdump/X86/debug_type_offset.test b/llvm/test/tools/llvm-dwarfdump/X86/debug_type_offset.test new file mode 100644 index 00000000000..b1fcad4312d --- /dev/null +++ b/llvm/test/tools/llvm-dwarfdump/X86/debug_type_offset.test @@ -0,0 +1,8 @@ +RUN: llvm-mc %S/../../../DebugInfo/Inputs/typeunit-header.s -filetype obj \ +RUN: -triple x86_64-unknown-elf -o - \ +RUN: | llvm-dwarfdump -debug-types=0x00000019 - | FileCheck %s +CHECK: .debug_types contents: +:CHECK-NOT: {{:}} +CHECK: 0x00000019: DW_TAG_structure_type +CHECK: DW_AT_visibility +CHECK-NOT: {{:}} |

