summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/test/Object/Inputs/no-sections.elf-x86-64bin0 -> 2912 bytes
-rw-r--r--llvm/test/Object/objdump-no-sectionheaders.test6
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/no-sections.elf-x86-64 b/llvm/test/Object/Inputs/no-sections.elf-x86-64
new file mode 100755
index 00000000000..9b8ca2e46c1
--- /dev/null
+++ b/llvm/test/Object/Inputs/no-sections.elf-x86-64
Binary files differ
diff --git a/llvm/test/Object/objdump-no-sectionheaders.test b/llvm/test/Object/objdump-no-sectionheaders.test
new file mode 100644
index 00000000000..5130100d8ee
--- /dev/null
+++ b/llvm/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: {{.}}
OpenPOWER on IntegriCloud