[llvm] r212059 - objdump: Add test for ELF file with no section table
Ed Maste
emaste at freebsd.org
Mon Jun 30 13:03:02 PDT 2014
Author: emaste
Date: Mon Jun 30 15:03:02 2014
New Revision: 212059
URL: http://llvm.org/viewvc/llvm-project?rev=212059&view=rev
Log:
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
Added:
llvm/trunk/test/Object/Inputs/no-sections.elf-x86-64 (with props)
llvm/trunk/test/Object/objdump-no-sectionheaders.test
Added: llvm/trunk/test/Object/Inputs/no-sections.elf-x86-64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Inputs/no-sections.elf-x86-64?rev=212059&view=auto
==============================================================================
Binary file - no diff available.
Propchange: llvm/trunk/test/Object/Inputs/no-sections.elf-x86-64
------------------------------------------------------------------------------
svn:executable = *
Propchange: llvm/trunk/test/Object/Inputs/no-sections.elf-x86-64
------------------------------------------------------------------------------
svn:mime-type = application/x-executable
Added: llvm/trunk/test/Object/objdump-no-sectionheaders.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/objdump-no-sectionheaders.test?rev=212059&view=auto
==============================================================================
--- llvm/trunk/test/Object/objdump-no-sectionheaders.test (added)
+++ llvm/trunk/test/Object/objdump-no-sectionheaders.test Mon Jun 30 15:03:02 2014
@@ -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: {{.}}
More information about the llvm-commits
mailing list