[PATCH] Add test for r211904 - llvm-objdump: don't assert if ELF file has no sections

Ed Maste emaste at freebsd.org
Mon Jun 30 13:11:29 PDT 2014


Closed by commit rL212059 (authored by @emaste).

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D4349

Files:
  llvm/trunk/test/Object/Inputs/no-sections.elf-x86-64
  llvm/trunk/test/Object/objdump-no-sectionheaders.test

Index: llvm/trunk/test/Object/objdump-no-sectionheaders.test
===================================================================
--- llvm/trunk/test/Object/objdump-no-sectionheaders.test
+++ llvm/trunk/test/Object/objdump-no-sectionheaders.test
@@ -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: {{.}}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4349.10984.patch
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140630/f84e9a37/attachment.bin>


More information about the llvm-commits mailing list