objdump: Add test for ELF file with no section table

This is a test for the fix in r211904.

Differential Revision: http://reviews.llvm.org/D4349


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212059 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ed Maste 2014-06-30 20:03:02 +00:00
parent eb73cf671b
commit 816d9c7b72
2 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,6 @@
; RUN: llvm-objdump -h %p/Inputs/no-sections.elf-x86-64 \
; RUN: | FileCheck %s
; CHECK: Sections:
; CHECK: Idx Name Size Address Type
; CHECK-NOT: {{.}}