[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 11:27:59 PDT 2014


Hi rafael,

http://reviews.llvm.org/D4349

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

Index: test/Object/objdump-no-sectionheaders.test
===================================================================
--- /dev/null
+++ 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
+; FIXME need to match EOF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4349.10980.patch
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140630/6e68b5d4/attachment.bin>


More information about the llvm-commits mailing list